add new line at end of each line