Debug output deleted
nodeArray globalized and new method findNode