Added LotteryHelper class & change if conditional to case