Added average and totals