changed pbs_kind to cm_kind