Text this: Understanding pupil behaviour