use chance to generate random numbers