modify variables to public.