migrate to cm