metal is being heated in a machine