made a base class