getting rating residuals