adding validtion to the status of the tree -- currently has some TODOs listed in it that I will come back to