added pupil model