a machine with a valve