Some db work

.