newline character working