changed embedded newline to embed \n rather than embed a newline character