Changed variable s in sendString(string s) to 'output'