splice f(x)