Trace Exam Function updated