starting db work