adjusted the random input generator parameters