add linear interpolation for kappa