commented the interpolation function