rearrange everything