modify inheritance