Changed to public function