db interface added resolve*