String to string, codegenloop updated