back to using db