add totals to homepage