Consider using "criteriaType" instead of "modelType" as the variable name/