Replaced y with f(x)