Added setNodePosition() method