another newline detection attempt