more early db functionality