line ending stuff