tree behaviour