Added value field to node class