Added Code before Final Exam