moved aggregate totals to header