initalizing the events to null