some rearrangements