Created a base class