add missing code to linked list post