added totals to sum1