[NH:1]1[CH:5]=[CH:4][CH:3]=[C:2]1[C:6]#[N:7].C[O-].[Na+].O.[NH2:12][NH2:13]>C(O)C.O>[NH:1]1[CH:5]=[CH:4][CH:3]=[C:2]1[C:6](=[N:12][NH2:13])[NH2:7]A solution of 1H-pyrrole-2-carbonitrile 10 g (108 mM) and sodium methoxide (1 eq) in ethanol (20 ml) and stirred for 10 min. Hydrazine hydrate (3 eq.) is then added and resulting reaction mixture is stirred at room temperature for 18 hrs. Reaction mass is then diluted with water, extracted with ethyl acetate, dried over anhydrous sodium sulphate and concentrated under vacuum to yield desired compound.