added the EventType type, and a record for it in the Event type