write newlines