.
american roulette algorithm updd