allow string parser to convert input string to integer for the number of iterations