re-worked regression output data structure