code for MEDUSA on mct