add interpolate switch