more work on dbdoc