Corrected the randomizeFlag purpose...