use private function instead of private keyword