change getModelClass() to modelClass