add phase totals