a linked list type example