more db work...