added sum and goals to table