cmodel_name function