Changed db to in mem.