added a fire event method