add linear interpolation