add outlier checking