residues-and-welding