renamed std parameter to sigma