made method public.