Randomising Stimuli Duration

Since allFrames is shuffled why use pop(0) rather than just pop() ?