Added the interpolation into the math