move interpolation to data model