standard deviation flagging mode