rearrangements and more tex