tree deconstructor :)