bugfixes: Changed private function to public.