Br.[N:2]1[CH:7]=CC=C[CH:3]=1.[C:8]([O:14][CH2:15][CH3:16])(=[O:13])[CH2:9][C:10]([CH3:12])=O.C[NH:18]C>C(Cl)Cl>[CH2:15]([O:14][C:8](=[O:13])[CH:9]=[C:10]([NH2:18])[CH2:12][N:2]([CH3:7])[CH3:3])[CH3:16]Pyridine-hydrobromide-perbromide (48 g) was added to a solution of ethyl acetoacetate (19.4 g) in anhydrous methylene chloride (500 ml) at room temperature in 20 minutes. The mixture was stirred for 2 hours and then added dropwise to a solution of dimethylamine (48.8 g) in anhydrous methylene chloride (100 ml) at -15°-0° in 1 hr. The resulting mixture was cooled to -20° and ammonia was bubbled through the mixture under stirring for 1 hr and for 2 hr at room temperature. The reaction went to completion, by leaving the mixture overnight at about 5° C. After evaporation of the solvent the residue was treated with ether the solid was filtered off and the solution evaporated, to yield a brown oil, which was purified by column chromatography on silica gel to give the title compound (10.8 g) as an orange oil.