set num.experiments to 1e4