Improved CMD