add mean and stddev