Reaction SMILES: [C:1]1([CH2:7][CH2:8][CH2:9][NH:10][CH:11]2[CH2:16][CH2:15][N:14]([C:17]([O:19][C:20]([CH3:23])([CH3:22])[CH3:21])=[O:18])[CH2:13][CH2:12]2)[CH:6]=[CH:5][CH:4]=[CH:3][CH:2]=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>[C:1]1([CH2:7][CH2:8][CH2:9][N:10]([CH:11]2[CH2:16][CH2:15][N:14]([C:17]([O:19][C:20]([CH3:23])([CH3:22])[CH3:21])=[O:18])[CH2:13][CH2:12]2)[C:42](=[O:43])[CH2:41][C:38]2[CH:39]=[CH:40][C:35]([O:34][CH3:33])=[CH:36][CH:37]=2)[CH:6]=[CH:5][CH:4]=[CH:3][CH:2]=1
Reactant: COc1ccc(CC(=O)Cl)cc1
Reactant: CC(C)(C)OC(=O)N1CCC(NCCCc2ccccc2)CC1
Solvent: ClCCl
Solvent: O
Solvent: CCN(C(C)C)C(C)C
Product: COc1ccc(CC(=O)N(CCCc2ccccc2)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-phenylpropylamine (0.143 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-phenylpropyl)amino-piperidine carboxylate. Yield: 110 mg. To a solution of tert-butyl 4-(3-phenylpropyl)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-(3-phenylpropyl)-N-(1-(tert-butyloxycarbonyl)piperidin-4-yl)-4-methoxyphenylacetamide. The crude product was used without any further purification. N-(3-Phenylpropyl)-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: 61 mg; 13C-NMR (CD3OD, rotamers): δ 27.8, 29.4, 30.8, 32.3, 32.7, 33.3, 40.2, 40.5, 42.0, 44.5, 44.6, 44.9, 52.7, 54.56, 54.57, 54.9, 114.0, 114.1, 125.7, 126.1, 127.0, 127.4, 128.2, 128.3, 128.5, 129.47, 129.55, 141.2, 141.8, 158.9, 159.0, 172.5, 172.7.