working on getDefNode