get_cxm and get_cxm_label functions