.
american roulette algorithm udaf