Modified lottery program