rearrange Packages