test rearrange