rearrange text