using arc4random_uniform and removed explicit param