added EventType enum