add random generation. Bug causes crashing randomly. Not ready