added rng seed