rearranging link