make db work
