changed to print within the text area itself