updated seedrandom