rearranged segments