Moved the \r to end rather than the beginning