Adding the event model