consolidated pupil name exists strings into one