improved readability of interpolation class