modify interpolation method