added some functionality to MyTree