debug model class