Change to use the residuals from the alternative