add the 'carriage return' function