created lotteryticket view