finished main database, all tests pass