added MemoryMenagement