added getActiveNodes
exists is now public
merging