Add code to generate random numbers.