a pair of weighted balls attached to a spinning shaft connected to the engine. When the engine ran too fast, the balls swung outward, which partly closed the steam valve, which slowed the engine. When the engine ran too slowly, the balls dropped inward, which opened the valve, which sped the engine