added setInterpolation