adding logging to the file + change wordwrap to 50 characters