Newline removal process added