Rearrange variables.