dding residuals