db interface
discovery interface