use writeEOL