Is there a simpler way to combine totals?