add db introspection