[CH2:1]([S:8][C:9]1[CH:14]=[C:13]([F:15])[CH:12]=[C:11](Br)[C:10]=1[Cl:17])[C:2]1[CH:7]=[CH:6][CH:5]=[CH:4][CH:3]=1.[NH:18]1[CH2:22][CH2:21][CH2:20][CH2:19]1.C1C=CC(P(C2C(C3C(P(C4C=CC=CC=4)C4C=CC=CC=4)=CC=C4C=3C=CC=C4)=C3C(C=CC=C3)=CC=2)C2C=CC=CC=2)=CC=1.CC([O-])(C)C.[Na+]>C1C=CC(/C=C/C(/C=C/C2C=CC=CC=2)=O)=CC=1.C1C=CC(/C=C/C(/C=C/C2C=CC=CC=2)=O)=CC=1.C1C=CC(/C=C/C(/C=C/C2C=CC=CC=2)=O)=CC=1.[Pd].[Pd]>[CH2:1]([S:8][C:9]1[C:10]([Cl:17])=[C:11]([N:18]2[CH2:22][CH2:21][CH2:20][CH2:19]2)[CH:12]=[C:13]([F:15])[CH:14]=1)[C:2]1[CH:7]=[CH:6][CH:5]=[CH:4][CH:3]=1Intermediate 35 (1 g, 3.02 mmol), pyrrolidine (0,257 g, 3.62 mmol), Pd2dba3 (55 mg, 0.06 mmol, 2 mol-%), BINAP (75 mg, 0.12 mmol, 4 mol-%) and NaOtBu (376 mg, 3.92 mmol) were suspended in 25 ml of dry, degassed toluene and refluxed for 2 h under argon atmosphere. After full conversion the reaction mixture was chilled and purified by extraction with 30 ml H2O and ethyl acetate. The organic layer was dried with MgSO4 and evaporated to form an oil. The product was used without further purification in the next step.