fire event at the correct time