Added clearOutputString()