More robust code dropping totals