[NH2:1][C:2]1[S:3][CH:4]=[CH:5][C:6]=1[C:7]#[N:8].[C:9](OC(=O)C)(=[O:11])[CH3:10]>>[C:9]([NH:1][C:2]1[S:3][CH:4]=[CH:5][C:6]=1[C:7]#[N:8])(=[O:11])[CH3:10]2-Amino-3-cyanothiophene (12 g) was heated at reflux in acetic anhydride (34 ml) for 15 minutes, cooled and refrigerated for 3 h. The crystalline product was filtered off (13.6 g).