creating new tree