changed interpolation method