Random input generator is added