add nbSample and seed options