added some methods to MyTree