Reaction SMILES: [CH3:1][O:2][C:3]1[CH:10]=[CH:9][CH:8]=[CH:7][C:4]=1[CH:5]=O.C(OCC)(=O)CC(C)=O.[NH:20]1[CH2:25][CH2:24]C[CH2:22][CH2:21]1.CC(C)([O-])C.[K+]>C(O)C>[CH3:1][O:2][C:3]1[CH:10]=[CH:9][CH:8]=[CH:7][C:4]=1[CH:5]1[CH2:24][CH2:25][NH:20][CH2:21][CH2:22]1
Reactant: C1CCNCC1
Reactant: COc1ccccc1C=O
Agent: CC(C)(C)[O-]
Agent: [K+]
Solvent: CCOC(=O)CC(C)=O
Solvent: CCO
Product: COc1ccccc1C1CCNCC1
Temperature: 5 °C
Reaction time: 8 h

Procedure:
2-Methoxybenzaldehyde (200 g) and ethyl acetoacetate (400 g) were mixed and cooled to 5° C. Piperidine (25 ml) was added and the mixture was stirred overnight at room temperature. The next day potassium tert-butoxide (25 g) was added. After 1.5 hours the mixture totally solidified and was left for 2 days. Ethanol (2000 ml) was added and the pricipitate was filtered off, washed with ethanol and finally dried in vacuo. Yield: 326 g. All of the thus obtained solid product (325 g) was added in small portions during one hour to a solution of potassium hydroxide (260 g) in water (320 ml) kept at 80-90° C. After stirring for further two hours at 80°, water (2000 ml) and diethyl ether (1000 ml) were added. After stirring, the organic phase was separated and discarded. To the remaining aqueous solution was added ice and concentrated hydrochloric acid until pH<1. After stirring for 45 minutes, the precipitated product was filtered off and dried. Yield of 3-(2-methoxyphenyl)-1,5-pentanedicarboxylic acid: 137 g, mp: 183-185° C. A mixture of the pentane-dicarboxylic acid (97 g) and urea (28 g) was heated at 160-165° C. for 2 hours. After cooling to 70° C., ethanol (150 ml) was added. The precipitated 4-(2-methoxyphenyl)-2,6-piperidinedione was filtered off and subsequently dried. Yield 66 g. Mp: 127-129° C. To a suspension of LiAlH4 (30 g) in dry THF (1000 ml) were added small portions (in total 65 g) of the piperidinedione while the temperature gradually raised to reflux. After reflux for 2.5 hours, the mixture was cooled below 10° C. and diluted aqueous NaOH solution (4M) (60 ml) was cautiously added. Precipitated inorganic salts were filtered off. The solvent was evaporated and the remaining oil was dissolved in dichloromethane, dried (anh. Na2SO4), filtered and dichloromethane evaporated leaving 56 g of 4-(2-methoxyphenyl)piperidine as an oil. All of the piperidine was dissolved in a mixture of 48% aqueous hydrobromic acid (400 ml) and a 33% solution of hydrogenbromide in acetic acid (400 ml). The solution was refluxed for 19 hours. Excess hydrobromic and acetic acids was evaporated in vacuo leaving 47 g of 4-(2-hydroxyphenyl)piperidine hydrobromide as a visceous oil. The hydrobromide (45 g) was dissolved in a mixture of water (300 ml) and THF (150 ml). Potassium carbonate (80 g) was added in small lots. A solution of di-tert-butyldicarbonate (40 g) in THF (150 ml) was added dropwise. The mixture was stirred overnight. The aqueous phase was separated and washed with dietyl ether (2×100 ml). The combined organic phases were dried (anh. MgSO4) and the solvents evaporated. The remaining product was stirred with diisopropyl ether and the precipitated product was filtered off. Yield of the title phenol derivative 5a: 24 g, mp: 187-189° C.