how-gate-Valve-Works