added mean and sd functions