Residue

I'm receiving an error. Most of the code must be the same but there is
some tweaking to be done.