better tree example