a pipe with two valves and pipes