changed random seed to timestamp