Reaction SMILES: [CH3:1][O:2][C:3]1[CH:4]=[C:5]([CH2:11][NH:12][CH:13]2[CH2:18][CH2:17][N:16]([C:19]([O:21][C:22]([CH3:25])([CH3:24])[CH3:23])=[O:20])[CH2:15][CH2:14]2)[CH:6]=[CH:7][C:8]=1[O:9][CH3:10].C(N(C(C)C)CC)(C)C.[CH3:35][O:36][C:37]1[CH:42]=[CH:41][C:40]([CH2:43][C:44](Cl)=[O:45])=[CH:39][CH:38]=1.O>ClCCl>[CH3:1][O:2][C:3]1[CH:4]=[C:5]([CH2:11][N:12]([CH:13]2[CH2:14][CH2:15][N:16]([C:19]([O:21][C:22]([CH3:25])([CH3:24])[CH3:23])=[O:20])[CH2:17][CH2:18]2)[C:44](=[O:45])[CH2:43][C:40]2[CH:41]=[CH:42][C:37]([O:36][CH3:35])=[CH:38][CH:39]=2)[CH:6]=[CH:7][C:8]=1[O:9][CH3:10]
Reactant: COc1ccc(CC(=O)Cl)cc1
Reactant: COc1ccc(CNC2CCN(C(=O)OC(C)(C)C)CC2)cc1OC
Solvent: O
Solvent: CCN(C(C)C)C(C)C
Solvent: ClCCl
Product: COc1ccc(CC(=O)N(Cc2ccc(OC)c(OC)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,4-di-methoxybenzylamine (0.151 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-((3,4-di-methoxyphenyl)methyl)amino-piperidine carboxylate. Yield: 162 mg. To a solution of tert-butyl 4-((3,4-di-methoxyphenyl)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,4-di-methoxyphenyl)methyl)-N-(1-(tert-butyloxycarbonyl)piperidin-4-yl)-4-methoxyphenylacetamide. The crude product was used without any further purification. N-((3,4-Di-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: 54 mg; 13C-NMR (CD3OD, rotamers): δ 25.9, 27.3, 40.0, 40.1, 43.5, 43.8, 44.1, 51.4, 53.5, 54.6, 55.4, 110.2, 111.0, 111.9, 112.2, 114.0, 114.2, 118.6, 119.4, 127.1, 127.4, 129.9, 130.0, 130.5, 132.1, 148.2, 148.7, 149.2, 149.7, 158.98, 159.05, 173.3, 173.6.