adding in class db work