delete private function