added parent add to tree