better db object