link rearranging