Refactor for PupilFrame
circulararray for pupilframes