re-connect the linked list