home, implemented the interpolation method.