removed unused functions in Tree family