issue #19: handle multiple nodes

...days wasted on this one.