Randomness v2

Modified