adding display of the totals