yeaaaahhh wuhu, copy in src von lottery.c