implement some metod of LinkedList