Db work

some work - compleate