added some methods to myTree