Original MDA-Extraction code
reference : https://github.com/yiufung/MDA-Extraction