added average and standard deviation