adds a working database