rearrange components