The man debugged the machine in the room so that it worked perfectly.