Added currentDb helper