conditional then on newline