added models for types