Update example to have better rng.