Implement roundRobin.