added totals to summary