added number_of_iterations config.