rearrange details