edited json response to return random number up to 30