mem_defs_pack is now finished and compiles with no errors