changed MD engine as suggested bu GH