use model class