Declared undeclared variable `istr`