you can specify the number of trials.