classes rearrangements