mg/cmd to cdd