add min_std_dev param