lottery repository