saving mean and std