hook for picking pupil location and some comment to make sense out of the orig code