framework of inheritance