probably need to open the db somewhere else