extend base class