tree behavior