Reaction SMILES: [Br:1][C:2]1[CH:3]=[C:4]([CH2:8][NH:9][CH:10]2[CH2:15][CH2:14][N:13]([C:16]([O:18][C:19]([CH3:22])([CH3:21])[CH3:20])=[O:17])[CH2:12][CH2:11]2)[CH:5]=[CH:6][CH:7]=1.C(N(C(C)C)CC)(C)C.[CH3:32][O:33][C:34]1[CH:39]=[CH:38][C:37]([CH2:40][C:41](Cl)=[O:42])=[CH:36][CH:35]=1.O>ClCCl>[Br:1][C:2]1[CH:3]=[C:4]([CH2:8][N:9]([CH:10]2[CH2:11][CH2:12][N:13]([C:16]([O:18][C:19]([CH3:22])([CH3:21])[CH3:20])=[O:17])[CH2:14][CH2:15]2)[C:41](=[O:42])[CH2:40][C:37]2[CH:38]=[CH:39][C:34]([O:33][CH3:32])=[CH:35][CH:36]=2)[CH:5]=[CH:6][CH:7]=1
Reactant: COc1ccc(CC(=O)Cl)cc1
Reactant: CC(C)(C)OC(=O)N1CCC(NCc2cccc(Br)c2)CC1
Solvent: ClCCl
Solvent: CCN(C(C)C)C(C)C
Solvent: O
Product: COc1ccc(CC(=O)N(Cc2cccc(Br)c2)C2CCN(C(=O)OC(C)(C)C)CC2)cc1
Temperature: 25 °C
Reaction time: 18 h

Procedure:
To a solution of commercially available tert-butyl 4-oxo-1-piperidine carboxylate (400 mg, 2 mmol) in methanol (1 ml) and 3-bromobenzylamine hydrobromide (222 mg, 1 mmol) in methanol (1 ml) was added acetic acid in methanol (1 M, 1.34 ml) followed by NaCNBH3 in methanol (0.3 M, 4.4 ml). The resulting solution was stirred at room temperature. After 24 h, water (2 ml) was added, and the mixture was stirred for 1 h, before it was concentrated. The resulting oil was redissolved in diethyl ether (20 ml), extracted with HCl (0.1 N, 1×15 ml). The aqueous layer was washed with diethyl ether (10 ml) and treated with 0.2 N NaOH until basic (pH>8), before extracted with dichloromethane (20 ml). The organic layer was dried (Na2SO4), filtered, and concentrated to give tert-butyl 4-((3-bromophenyl)methyl)amino-piperidine carboxylate. Yield: 142 mg. To a solution of tert-butyl 4-((3-bromophenyl)methyl)amino-piperidine carboxylate (50 mg, 0.14 mmol) in dichloromethane (6 ml) was added diisopropylethylamine (0.070 ml, 0.4 mmol) followed by 4-methoxyphenylacetyl chloride (0.055 ml, 0.35 mmol). The reaction mixture was stirred at room temperature. After 18 h, water (2 ml) was added. The mixture was stirred for another 2 h. The mixture was sequentially washed with HCl (0.2 N, 2×15 ml), NaOH (0.2 N, 2×15 ml), and water (10 ml), dried (Na2SO4), filtered and concentrated to give N-((3-bromophenyl)methyl)-N-(1-(tert-butyloxycarbonyl)piperidin-4-yl)-4-methoxyphenylacetamide. The crude product was used without any further purification. N-((3-Bromophenyl)methyl)-N-(1-(tert-butyloxycarbonyl)piperidin-4-yl)-4-methoxyphenylacetamide was dissolved in diethyl ether (2 ml) and HCl (1 ml, 4 M in dioxane) was added. The reaction mixture was stirred at room temperature. After 2.5 h, NaOH (1 ml, 6 N) was added followed by dichloromethane (10 ml). The mixture was extracted with water (2×15 ml), dried (Na2SO4), filtered to give a clear solution. The solution was added on to a column carrying strongly acidic cation exchange resin (0.3 mmol/g resin), which was washed with methanol (3×6 ml), and eluted with 10% NH3 in methanol, and concentrated to give the title compound. Yield: 49 mg; 13C-NMR (CD3OD, rotamers): δ 26.6, 28.2, 40.2, 43.9, 44.0, 51.8, 54.1, 54.6, 113.76, 113.84, 114.1, 114.2, 122.2, 125.0, 125.5, 126.7, 127.1, 129.2, 129.5, 129.7, 129.8, 129.9, 130.0, 130.5, 130.6, 140.8, 141.8, 159.1, 173.3, 173.7.