rearrange and content