a machine works and a spray is triggered