change the inheritance