setting model class