working with cm_type