package rearrangements