add some new temporary code about db object