Changed to LinkedList instead of an ArrayList because LinkedList is more
flexible for the future in this case