Implement lottery scheduler