Changed missing stuff in MainMemory