adding to tree