welding and demagnetization