improvement of the linked list operations