Added getter/setters to node, used them