updated mda_util to use MDAs final code