Changed use of Vector to LinkedList