methods of residues