test public function