Hermione Granger is crucial to Harry and Ron in their successful mission to solve the mystery of the Chamber of Secrets. Hermione is revived after Harry kills the basilisk, but she is distraught to learn that all end-of-year exams have been cancelled as a school treat. Hermione buys a cat named Crookshanks, who takes to chasing Ron's pet rat, Scabbers. Before the start of term, Professor McGonagall secretly gives Hermione a Time-Turner, a device which enables her to go back in time and handle her heavy class schedule, though this is not revealed until the penultimate chapter. Much tension comes into play
Hermione Granger always keeps her attention focused on the job that must be done." Despite Hermione's intelligence and bossy attitude, Rowling says that Hermione has "quite a lot of vulnerability in her personality," as well as a "sense of insecurity underneath," feels, "utterly inadequate... and to compensate, she tries to be the best at everything at school, projecting a false confidence that can irritate people." During her Defence against the Dark Arts exam at the end of "Harry Potter and the Prisoner of Azkaban", Hermione reveals that her biggest fear is failure, after a Boggart takes the form of Professor McGonagall and