Change addToList to be public.