document using custom KBs