ListNode working fine