tring tow work on linked list