added all residuals