corrected error with approx ($y)