getting event types