added a second argument to the outer closure on ox.extrapolate