Add $residuals