re-fixed random num generation in sims