added initiation of a tree