choose residual variable names correctly