Reaction SMILES: [CH3:1][O:2][C:3]1[CH:8]=[CH:7][CH:6]=[CH:5][C:4]=1[CH2:9][NH:10][CH:11]1[CH2:16][CH2:15][N:14]([C:17]([O:19][C:20]([CH3:23])([CH3:22])[CH3:21])=[O:18])[CH2:13][CH2:12]1.C(N(C(C)C)CC)(C)C.[CH3:33][O:34][C:35]1[CH:40]=[CH:39][C:38]([CH2:41][C:42](Cl)=[O:43])=[CH:37][CH:36]=1.O>ClCCl>[CH3:1][O:2][C:3]1[CH:8]=[CH:7][CH:6]=[CH:5][C:4]=1[CH2:9][N:10]([CH:11]1[CH2:16][CH2:15][N:14]([C:17]([O:19][C:20]([CH3:23])([CH3:22])[CH3:21])=[O:18])[CH2:13][CH2:12]1)[C:42](=[O:43])[CH2:41][C:38]1[CH:39]=[CH:40][C:35]([O:34][CH3:33])=[CH:36][CH:37]=1
Reactant: COc1ccc(CC(=O)Cl)cc1
Reactant: COc1ccccc1CNC1CCN(C(=O)OC(C)(C)C)CC1
Solvent: CCN(C(C)C)C(C)C
Solvent: ClCCl
Solvent: O
Product: COc1ccc(CC(=O)N(Cc2ccccc2OC)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 2-methoxybenzylamine (0.130 ml, 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-((2-methoxyphenyl)methyl)amino-piperidine carboxylate. Yield: 211 mg. To a solution of tert-butyl 4-((2-methoxyphenyl)methyl)amino-piperidine carboxylate (50 mg, 0.16 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-((2-methoxyphenyl)methyl)-N-(1-(tert-butyloxycarbonyl)piperidin-4-yl)-4-methoxyphenylacetamide. The crude product was used without any further purification. N-((2-Methoxyphenyl)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: 40 mg; 13C-NMR (CD3OD, rotamers): δ 26.1, 27.4, 40.0, 40.1, 43.5, 43.9, 51.5, 53.4, 54.5, 54.58, 54.63, 54.78, 54.83, 110.1, 110.5, 113.76, 113.78, 113.84, 114.0, 114.1, 120.1, 120.5, 125.4, 126.0, 126.5, 126.7, 127.1, 127.3, 127.7, 128.8, 129.8, 130.0, 130.08, 130.14, 156.5, 157.0, 159.0, 159.1, 173.2, 173.8.