Used randomNumber and randomDigit