added totals for each data point