testing base class method