End rearranging