added tree example