changed ctor of base class