add linked list methods