private to protected function in search controller