working on outlier calculations
merge fix