working on the mytree method