roulettfunction implemented