Added memoryDatabase