student final exam private function