add totals to stats