Internal refactor: getNode