goals are arranged in a tree