Rename memory to mem