Using LinkedList instead