doing with searching on the linkedlist