put const for max iterations