some work on the events