Passed exams and textbooks separately into template