add events and event types