Rearrange a bunch of stuff