correct Slope_Upper variable name