bug pupil creation