A machine clattered and a puff of smoke came out of the exhaust pipe.