a click occurs then a machine runs