more db work!