added models with scopes and relationships