Trying to get a working database