lottery schedulling setup