get rid of inheritance model