Gave a little more control to randomization