mostly finished with getDefNode I think
getDefNode