a machine works while a spray is released