almost finished the mmcm_adv module