added newLine() function