decouple knowledgebase and node type