A man stood at a table assembling a machine, and a cheerful song was playing in the room.