Pupil code base