if (exams.passed()) { student.happy(); }