added dbobject method