sort out branch