newline handling changes --KW