rearranging packages