 In this case primary or secondary arylamines are condensed with oxalyl chloride to form a chlorooxalylanilide intermediate which can then cyclize in the presence of a Lewis acid (e.g.aluminium trichloride, titanium tetrachloride, boron trifluoride, "etc".