Gary made the mistake of not revising before his exam. He was too confident and now he has to take the exam again next week.