trying to make the db work