adding tree example