Added methods for LinkedList