Added AddLeg to MDM