remove added to cm code