use std rather than absolute value based deviation