add some linked list operations