implemented roulette
and random selection