filling in the Operator class