working on totals