According to the previously described method , 2-cyano-N-(5-methylthiazol-2-yl)acetamide (1) was created by the reaction of 5-methyl-thiazol-2-amine (I) and ethyl cyanoacetate, as explained in the following equation (figure ). According to the catalyst applied, the reaction between 2-cyano-N-(5-methylthiazol-2yl)acetamide (1) and cinnamaldehyde (2) takes place in one of two ways. When trimethylamine is used, the reaction takes place via the addition of the amide NH and active methylene groups of compound 1 to the carbon-carbon double bond of compound 2, resulting in the loss of a hydrogen molecule and the production of the pyrrole-3-carbonitrile derivative 3. The spectrum data were used to determine the structure of the latter product (see Experimental section). For instance, the IR spectra of chemical compound 3 exhibited the presence of two carbonyl absorption bands at 1672 and 1605 cm -1