completed inMemory stuff