make everything into a memory.