newline before for diff and group with var below