making changes to totals