linked list working.