use %n for newline in format