add MemoryManagement