Added seed to rng