Added linked list revision code