added calculation of standard deviation