rearrange configurations