interpolation done - dirty code yet to be fixed