extract the node into it's own class/struct
Change node class to require it