Adding randomNumber Method