Deleted unused code
Input text now actually sent to output stream 4