how is mdm made