Simplified node values
Introduced struct for nodeValue