Automatic valves on steam engines were invented by a boy whose job was to run up and down a ladder turning valves on an engine designed to pump water from mines. He attached a pole to the output of the engine to do it for him, and took a nap.