one variable data table with multiple outputs