added documentation to getNode()