some line endings stuff