public function for bobby