Made a working database