new method for getting a random number from array