renamed occurences of std to sigma