Tom was thinking about how to explain to the teacher why he was late for class, when a good idea _______him.