Setting isIter and isStr