added newline character for Scala style