Fixed getNode() so that it returns the nodes rather than the IDs that you just provided it