MDS in main