adding linked list structure