added some newline cases.