slim and xdm replace by cdm