interpolation class