added models and inheritances