added in-memory db (hash based)