with two gate valves or sliding valves