add EventType and Operator class