changed residuals processing