added an event model