modif of the xml to have first MC def then MC data