made a value system for nodes