last of rearranging