Changed CurveFit to temp