added LotteryMath incompleted sample