made fields of EventType private