added LinkedList and local changes