now actually using standard deviation