accessor for underling db