line endings and lengths