Some fixes...
Random input generator