Edited EX_MEM & ID_EX