input stream changed to string