Added function randomGen.