add generate random number