Randomization added.