moved cm_mode over