Using time to be the random generator.