finish linked list