a machine has valves