removed private function declaration which is no longer used