rearrange package