random number generator seeding should be better