db work skeleton