a structure on a tree