Plant the tree functionality