added addchild() to Tree