completed double_interpolation functionality