saving and restoring interpolator state