get mean and sd in same method