A. By-pass valves are connected to the steam port leading to the cylinder. Its duty is to open when the engine is drifting with steam shut off, and close when working steam, to allow air to pass back and forth from opposite sides of the moving piston.