average and stddev added