a machine works while some liquid flows