linked list in documents