output string modified