Modify Inheritance to contain virtual base class