add newline writeresults