rounding out db functions for ex17