streamlining LinkedList