code for CC-MDS