The distraction helped the schoolgirl with her studies, but not in the way you might think