a tree with a gate