Errors cause by the backslash r can be avoid by adding an extra space at the end of the each line