branch and tree adjustments