make main public.