Why use \r? I think \n is much more common for newlines. Not sure if \r even works correctly?