Add average and sum