much simpler version of interpolation