spending a lot of time updating the tree and node classes to where they can be used successfully