Application of residues 1