Tested lottery, got everything working correctly