reaction a ( preparation of the intermediate ( iii ), 6 - allyloxy - indan - 1 - one ) can be easily performed by means of known methods , for example by reaction of the 6 - hydroxy - indanone with allyl bromide in the presence of bases , as described in magn . reson . chem ., 2000 , 38 , 970 - 4 . the reaction can be easily performed in acetone at reflux with allyl bromide slightly in excess with respect to the stoichiometric amount . the intermediate ( iii ) is purified by crystallisation with n - heptane or a mixture of isomers of heptane or with cyclohexane . reaction b ( preparation of the intermediate ( iv ), 7 - allyl - 6 - hydroxy - indan - 1 - one ) can be performed by thermal claisen rearrangement of the intermediate ( iii ) operating by melting without any added solvent , as described in magn . reson . chem ., 2000 , 38 , 970 - 4 , or by operating in the presence of dowtherm a ( a liquid mixture consisting of 26 . 5 % by weight of diphenyl and 73 . 5 % by weight of diphenyl oxide produced by dow chemical company and used for heat transfer ). the reaction can be performed for a period of between 45 minutes and 80 hours at a temperature of between 140 and 250 ° c . the reaction is preferably performed in the presence of dowtherm a , for no longer than 70 hours at a temperature below 210 ° c . the intermediate ( iv ) is easily purified from the non - reacted intermediate ( iii ) by treatment with bases , extraction with water and subsequent acidification or by crystallisation with toluene . the by - product of rearrangement of the allylic group in position 5 of indane is produced in percentages below 4 %. reaction c , protection of the phenolic hydroxyl to obtain an intermediate of general formula ( v ), can be performed with a protective group stable in a basic environment . the protections that give rise to the formation of an ether , for example 2 - methoxypropene or a silyl ether , are useful for this purpose . preferably compounds of silicon are used , including triisopropylsilyl chloride ( tips )— cl , trimethylsilyl chloride ( tms )- cl , triphenylsilyl chloride ( tps )- cl , t - butyldiphenylsilyl chloride ( tbdps )- cl , texyldimethylsilyl chloride ( tds )— cl , t - butyldimethylsilyl chloride ( tbs )- cl and similar , as described in “ greene &# 39 ; s protective groups in organic synthesis ” 4 a ed . wiley , or in “ protecting groups ” by p . j . kocienski , ed . thieme , in the presence of bases such as imidazole or dimethylaminopyridine ( dmap ). preferred compounds for the purpose are ( tbdps )- cl and ( tms )- cl . the reaction solvent is a solvent without hydroxylic groups , chosen for example from the group consisting of dimethylformamide ( dmf ), toluene , xylene , methylene chloride , ethyl ether , dimethoxyethane , tetrahydrofuran ( thf ), 2 - methyl tetrahydrofuran , 3 - methyl tetrahydrofuran and their mixtures ; dmf is preferred . the reaction temperature can be between 0 ° c . and the boiling temperature of the solvent , preferably between 0 and 50 ° c ., and even more preferably between 0 and 25 ° c . the reaction time is between 1 and 12 hours , preferably between 3 and 9 hours . the reaction product thus obtained can be easily purified from by - products and residues of non - reacted intermediate ( iv ) by crystallisation with heptane . reaction d , preparation of an intermediate of formula ( vi ), can be performed on the intermediate ( v ) with a dialkyl cyano methylphosphonate , for example diethyl cyano methylphosphonate , in a basic environment . the following can be used as a base : potassium t - butylate , sodium methylate , sodium hydroxide , potassium hydroxide , sodium hydride , stabilised sodium hydride , potassium hydride , sodium amide , lithiodiisopropylamide . preferably sodium hydride is used at 60 % dispersed on oil . the solvent can be one or a mixture of ethers such as ethyl ether , diisopropylether , tetrahydrofuran ( thf ), dioxane or dimethoxyethane ; hydrocarbons , such as toluene , cyclohexane or heptane ; amides , such as dimethylformamide and dimethylacetamide ; or dimethylsulphoxide ; preferably thf is used . the reaction temperature , between 0 ° c . and the boiling point of the solvent , is preferably comprised between 15 and 30 ° c . the enantioselective reduction reactions e and i , for production of the intermediates of formula ( vii ) and ( xi ) starting from an intermediate of formula ( vi ) and an intermediate of formula ( 10 ) respectively , can be performed with “ josiphos ” type reagents in the series ( s )—( r ) in the presence of a compound of copper ( ii ), a silane and an alcohol in a hydrocarbon as solvent . the “ josiphos ” reagents , characterised by a ferrocenic structure to which two phosphines are bound , are a family of catalysts suitable for enantioselective reductions . of the josiphos reagents that can be used , the ethanol adduct of ( s )- 1 -[( r )- 2 - diphenylphosphino ) ferrocenyl ] ethyldicyclohexylphosphine , marketed as ( s )—( r )- ppf - pcy 2 ( cas no . 162291 - 02 - 3 ), is particularly efficient . the quantity of josiphos that can be used in the reaction varies between a molar percentage of 0 . 1 and 6 %, preferably between a molar percentage of 1 and 5 % with respect to the reagents ( vi ) and ( 10 ). the reaction temperature , which can vary from − 5 to + 20 ° c ., is preferably maintained between 0 and 5 ° c . of the silanes that can be used and are commercially available , including the polysilanes , diphenylsilane is preferred . of the copper compounds ( ii ) that can be used , copper ( ii ) acetate is preferred . of the alcohols that can be used , tert - butanol is preferred . the reaction solvents that can be used , inert in the reaction conditions , are for example heptane , hexane , cyclohexane or toluene , the latter being preferred . the reaction is performed in an inert atmosphere without oxygen , preferably in a nitrogen atmosphere . the enantiomeric excess that can be obtained , always greater than 75 %, using ( s )—( r )- ppf - pcy 2 is above 90 %. the reagents are added in three phases : 1 ) compound of copper ( ii )+ josiphos + silane + toluene ; 2 ) reaction substrate + toluene ; 3 ) alcohol + toluene . reactions f and e result in production of the intermediates of formula ( viii ) and ( 7 ) starting from the intermediate ( vii ) and the intermediate ( vi ) respectively by oxidative demolition of a carbon atom . in the case of the intermediate ( vi ) said demolition is selective in relation to the double terminal bond , while the double bond conjugated with the function — c ≡ n is inert . said reaction is performed by using 4 - methylmorpholine - n - oxide with osmium tetroxide ( oso 4 ) in a catalytic quantity in an aqueous environment . 4 - methylmorpholine - n - oxide can be used indifferently as a monohydrate or as an aqueous solution . osmium tetroxide can be used as is or dissolved in tert - butanol or isopropanol . the reaction with oso 4 is followed by the addition of sodium metaperiodate ( naio 4 ) in water to complete the reaction . the intermediate diols of the oxidative demolition ( having the formulas given below ), obtained by treatment with oso 4 and previous to the addition of metaperiodate , can be isolated from the reaction environment . the reaction solvent is chosen from the common organic solvents which do not react in the reaction conditions and which are , also partially , miscible with water , for example methyl - tetrahydrofuran , methyltertbutylether , diisopropylether and , preferably , thf . the reaction temperature is comprised between 0 and 50 ° c ., preferably between 15 and 30 ° c . in this case it is not necessary to work in an inert atmosphere ; this working consition is however preferable for safety reasons . the reactions g and f , which result in the production of intermediates of formula ( ix ) and ( 8 ) starting from the intermediate ( viii ) and the intermediate ( 7 ) respectively , can be performed by reduction with a hydride such as lithium aluminium hydride ( lialh 4 ), lithium borohydride ( libh 4 ) or sodium borohydride ( nabh 4 ). the hydride can be used as a solid ( powder , granules , flakes ), as a solution in 2 - methoxyethylether , tetraethylene glycol dimethyl ether , triethylene glycol dimethyl ether or , as regards nabh 4 , as an aqueous solution basified to ph & gt ; 8 with sodium bicarbonate , sodium carbonate or naoh . the reaction solvent is chosen from thf , methanol , ethanol , isopropanol , tertbutanol , ethyl ether , water or their mixtures ; isopropanol is preferred . the quantity of hydride that can be used depends on the course of the reaction with extra additions of hydride until completion of the same . the reaction temperature is comprised between 0 and 50 ° c ., preferably between 15 and 30 ° c . also in this case , it is possible and advisable , although not necessary , to work in an inert atmosphere for safety reasons . the reactions h and g result in the intermediates of formula ( x ) and ( 9 ), in which ( lg ) is a good leaving group in the following cyclisation reaction . the lg groups are preferably mesylate , — o — so 2 — ch 3 , and tosylate , — o — so 2 — c 6 h 4 — ch 3 ; intermediates of type ( x ) and ( 9 ) containing these leaving groups can be prepared starting from the intermediate ( ix ) and the intermediate ( 8 ) respectively by reaction with mesyl chloride ( ch 3 so 2 cl ) or tosyl chloride ( ch 3 — c 6 h 4 — so 2 cl ) in pyridine . for completion of the reaction , between 2 and 8 , preferably 5 , moles of chloride are necessary per mole of reagent intermediate . the reaction temperature is comprised between 0 and 40 ° c ., preferably between 15 and 30 ° c . the chloride can be added all at once at the beginning of the reaction , or in portions , monitoring the formation of the product by means of tlc . the reactions i and h result in the intermediates of formula ( xi ) and ( 10 ) starting from the intermediate ( x ) and the intermediate ( 9 ) respectively by reaction with a salt obtained in its turn from reaction of hydrofluoric acid with an amine . for this purpose it is possible to use , for example , benzyltrimethylammonium fluoride hydrate , ammonium fluoride , pyridinium fluoride or tetrabutylammonium fluoride , in the form of pure salts , supported on silica gel , in aqueous solution or in hydrated form ; use of the tetrabutylammonium fluoride in the form of trihydrate is preferred . the tetrabutylammonium fluoride trihydrate can be used in a molar amount between 5 % and 200 % with respect to the moles of the starting intermediate . to favour the reaction , kf can be added in a molar amount between 5 % and 300 % with respect to the moles of said intermediate . the reaction solvent is chosen from thf , ethyl ether , methyltertbutylether , methyltetrahydrofuran , methylene chloride , toluene , cyclohexane , ethyl acetate and isopropyl acetate , pure or in a mixture . the reaction can also be performed in biphase conditions . the reaction temperature is comprised between 0 and 40 ° c . the reaction is preferably performed in a thf - water biphase system at a temperature of between 10 and 30 ° c ., using tetrabutylammonium fluoride trihydrate in the presence of kf , in molar amounts of between 10 % and 20 % and between 150 % and 250 % respectively with respect to the moles of the starting intermediate . lastly , ramelteon , having the formula ( i ) previously reported , can be produced directly by reduction of the intermediate ( xi ) in the presence of propionic anhydride or propionic acid , or by reduction of the intermediate ( xi ) to form a new intermediate ( xii ) and reaction of the latter with propionyl chloride , propionic anhydride or propionic acid . direct conversion of the intermediate ( xi ) to ramelteon , reaction α , can be performed by catalytic hydrogenation in the presence of propionic anhydride or propionic acid , using catalysts based on pd , rh , and pt supported on inert substrates such as carbon or alumina , or raney nickel , a product commercially available in aqueous suspension . if a noble metal is used on an inert support , the weight percentage of the metal with respect to the support is between 5 % and 10 %. the reaction occurs at a pressure of between 6 and 60 bar and at a temperature of between 20 and 120 ° c . the reaction solvent is chosen from the solvents that are non - hydrogenable in the reaction conditions such as thf , ethyl acetate , isopropyl acetate , dmf ( dimethylformamide ), dma ( dimethylacetamide ), methyl - tetrahydrofuran , water , cyclohexane , toluene , methanol , ethanol or isopropanol , pure or in a mixture . the hydrogenation is preferably performed using pt / c escat 22 ( a catalyst consisting of platinum on carbon produced by basf se ) at a pressure of between 8 and 14 bar and a temperature of between 60 and 70 ° c . in thf . propionic anhydride is used preferably in a number of moles twice the number of moles of reagent to be hydrogenated . in the alternative preparation method , intermediate ( xi ) is first reduced by the reaction β 1 to form an amine ( intermediate ( xii )), which is then converted to ramelteon in the reaction β 2 . the conversion to ramelteon of intermediate ( xii ) can take place on the intermediate as is , i . e . the free amine , or on one of its salts with an acid , for example hydrochloride . reaction β 1 according to this preparation method can be performed in various ways : hydrogenation of intermediate ( xi ) with raney nickel ; the hydrogenation can occur at a temperature of between 10 and 120 ° c . and at a pressure of between 1 and 60 bar in a solvent that is non - hydrogenable in the reaction conditions such as thf , ethyl acetate , isopropyl acetate , dmf , dma , methyl - tetrahydrofuran , water , cyclohexane , toluene , methanol , ethanol and isopropanol , pure or in a mixture , possibly in the presence of ammonia . the reduction is preferably performed at a pressure of between 1 and 18 bar and at a temperature of between 10 and 40 ° c . in a thf - methanol mixture with the addition of ammonia ; reduction of the intermediate ( xi ) with raney nickel in a mixture inert in the reaction conditions containing isopropanol in the presence of koh without the addition of hydrogen ; the reaction can occur at a temperature of between 30 ° c . and the reflux temperature of the reaction suspension . the reaction is preferably carried out using pure isopropanol as a solvent and operating at the reflux temperature of the reaction suspension . the quantity of koh used is between 20 and 40 %, preferably 30 % by weight , with respect to the quantity of intermediate ( xi ) to be reduced ; reduction of the intermediate ( xi ) with lithium aluminium hydride in thf ; the reaction is carried out with subsequent additions of the hydride until the reaction is complete ( verified with tlc ) at a temperature comprised between 0 and 40 ° c ., preferably between 15 and 25 ° c ., in an inert atmosphere . the quantity of hydride used is at least equal in weight to the quantity of intermediate ( xi ) to be reduced ; catalytic hydrogenation of the intermediate ( xi ) with catalysts based on pd , rh and pt supported on inert substrates such as carbon and alumina in the presence of hydrogen ; the weight percentage of the metal with respect to the support is between 5 and 10 %. the reaction is performed at a hydrogen pressure comprised between 6 and 60 bar and at a temperature comprised between 20 and 120 ° c ., in a solvent with the addition of ammonia or hydrochloric acid . the solvent is chosen from those that are non - hydrogenable in the reaction conditions such as thf , ethyl acetate , isopropyl acetate , dmf , dma , methyl - tetrahydrofuran , water , cyclohexane , toluene , methanol , ethanol or isopropanol , pure or mixed . the reaction is preferably performed using pt / c escat 22 and operating at a pressure of between 8 and 14 bar and a temperature of between 60 and 70 ° c . in a thf - methanol - ammonia mixture . the intermediate ( xii ), obtained according to any one of the four possible methods illustrated above , is then converted to ramelteon by simple reaction ( β 2 ) with a reagent chosen from propionyl chloride , propionic acid or propionic anhydride in the presence of a base . propionyl chloride is preferably used with triethylamine ( tea ) for reaction in organic solvent or propionic anhydride for reactions in the presence of water as part of the solvent mixture . if the intermediate ( xii ) is used as the salt of an acid , easily obtainable with the common methods of salification of an amine , the quantity of base to be used will be consequently increased . the invention will be further illustrated by the following examples . in the description of the examples , the term ( tlc ) after a process phase indicates control of the advancement degree or verification of the end of a reaction by thin layer chromatography . 20 kg of 6 - hydroxy - indanone are suspended in 120 l of acetone , and 29 . 9 kg of potassium carbonate and 19 . 7 kg of allyl bromide are added . the reaction mixture is heated to reflux and checked after 15 h ( tlc ). it is cooled to 20 - 25 ° c . and filtered , washing the filtered solid with 40 l of acetone . the filtered solution is concentrated to dryness at reduced pressure . the oil obtained is recovered with 25 l of heptane and re - concentrated to dryness obtaining a solid ( 25 . 9 kg ). the thus obtained solid is dissolved at 60 ° c . in 125 l of heptane , and is then cooled to 0 ° c . for at least one hour . it is filtered and washed with 25 l of cold heptane . 22 . 3 kg of intermediate ( iii ) are obtained in a pale yellow solid form of quality suitable for continuation of the synthesis . an 1 h - nmr ( 500 mhz , cdcl 3 ) spectroscopic analysis is performed on part of the product thus obtained , purified by chromatography for analytical purposes ( silica gel , heptane 8 - ethyl acetate 2 ), obtaining the following result : 2 . 74 ppm , t j = 6 hz , 2h , 3 . 10 ppm , t , j = 6 hz , 2h , 4 . 60 ppm , broad d , j = 5 hz , 2h , 5 . 32 ppm , dd , j = 10 hz , 1h , 5 . 45 ppm , broad dd , j = 16 hz , 1h , 6 . 02 - 6 . 13 ppm , m , 1h ; 7 . 20 - 7 . 27 ppm , m , 2h , 7 . 40 ppm , d , j = 8 hz , 1h . 20 kg of the intermediate of formula ( iii ) prepared as described in example 1 are suspended in 50 l of dowtherm a under nitrogen flow . in an inert atmosphere , it is heated to approximately 200 ° c . for approximately 5 hours . upon completion of the reaction ( tlc ) a clear red - brown solution is obtained , without the formation of black pitch . the reaction mixture is cooled slowly to 25 ° c . ( a partial precipitation is observed ). 100 l ( 5 volumes ) of cyclohexane are added and it is cooled to between 0 and 5 ° c . for one hour . it is filtered by washing with cyclohexane and dried at reduced pressure and t = 45 ° c . for at least 12 hours . 16 . 8 kg of yellow solid are obtained which is refluxed in 80 l of toluene in the presence of decolouring carbon . the suspension is filtered , washing it with hot toluene . part of the solvent is distilled at reduced pressure until the beginning of crystallisation . it is cooled at room temperature and then to between 0 and 5 ° c . for at least one hour . the filtered solid is washed with cold toluene and dried at reduced pressure at t = 45 ° c . for at least 12 hours . 15 . 3 kg of intermediate ( iv ) are obtained in the form of an almost white solid of quality suitable for continuation of the synthesis . 1 h - nmr and mass spectroscopic analyses are performed on part of the product thus obtained , purified by chromatography for analytical purposes ( silica gel , 7 parts in volume of heptane - 3 parts in volume of ethyl acetate ), obtaining the following results : 2 . 72 ppm , t , j = 6 hz , 2h , 3 . 03 ppm , t , j = 6 hz , 2h , 4 . 03 ppm , d , j = 6 hz , 2h , 5 . 13 - 5 . 20 , σd , 2h , 5 . 60 ppm , s , 1h , 5 . 98 - 6 . 10 ppm , m , 1h , 7 . 13 ppm , d , j = 8 hz , 1h , 7 . 25 , d , j = 8 hz , 1h . 20 kg of intermediate ( iv ), prepared as described in the preceding example , are dissolved in 200 l of dmf . 25 . 2 kg of imidazole are added and it is cooled to a temperature between 0 and 5 ° c . 38 kg of tert - butydiphenylchlorosilane are added dropwise and it is left under agitation at 20 ° c ., monitoring the reaction ( tlc ). upon completion of the reaction , cooling to 0 - 5 ° c . is performed , 400 l of water are added to the reaction mixture and it is agitated for a few minutes before filtering the solid formed . the solid is dissolved with 300 l of toluene , the toluene solution is washed with water before distilling the toluene at reduced pressure . the oily residue is recovered with 100 l of heptane which are distilled at reduced pressure . the solid is recovered again with 340 l of heptane and dissolved at 60 ° c . it is cooled to 0 - 5 ° c . for at least one hour . filtering is performed , washing with cold heptane . it is dried at reduced pressure and t = 45 ° c . for at least 8 hours . 34 kg of intermediate ( v ) are obtained in the form of a white solid of suitable quality for continuation of the synthesis . a sample of the product thus obtained , after purification by crystallisation with isopropyl ether for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : electron impact mass : [ m + ]= 426 , [ m + ]= 426 - c 4 h 9 = 369 1 . 15 ppm , s , 9h , 2 . 70 ppm , t , j = 6 hz , 2h , 2 . 94 , t , j = 6 hz , 2h , 4 . 13 ppm , broad d , j = 6 hz , 2h , 5 . 00 - 5 . 18 ppm , σd , 2h , 6 . 10 - 6 . 20 ppm , m , 1h , 6 . 65 ppm , d , j = 8 hz , 1h , 6 . 85 ppm , d , j = 8 hz , 1h ; 7 . 38 - 7 . 50 ppm , m , 6h , 7 . 75 ppm , broad d , j = 6 hz , 4h . 3 . 0 kg of sodium hydride at 60 % are agitated with 70 kg of thf in an inert atmosphere , maintaining the temperature at 20 ± 5 ° c . 14 . 4 kg of diethyl ( cyanomethyl ) phosphonate are added maintaining the temperature at 20 ± 5 ° c . with suitable cooling , given the slight exothermicity of the reaction . it is maintained at 20 ± 5 ° c . for 45 minutes . the reaction mixture becomes a solution . 13 . 9 kg of intermediate ( v ), prepared as described in the preceding example , are dissolved in 35 kg of thf at a temperature of 20 ± 5 ° c . the solution of intermediate ( v ) is added to the solution of phosphonate , maintaining the temperature at 20 ± 5 ° c . with suitable cooling . the reaction mixture is kept under agitation at 20 ± 5 ° c . for 5 h . upon completion of the reaction ( tlc ), the reaction mixture is quenched in a solution consisting of 118 litres of water and 2 . 4 litres of glacial acetic acid pre - cooled to 5 ± 5 ° c . ; during the addition , precipitation of the product occurs . the system is kept under agitation at 5 ± 5 ° c . for 30 minutes , after which the solid is filtered and washed with 25 litres of water . the wet solid is then recovered in 85 l of water , agitated at 20 ± 5 ° c . for 30 minutes and re - filtered , washing the solid with 30 l of water . the solid is dried under a vacuum at 45 ± 5 ° c . until the weight is constant . 11 . 5 kg of raw intermediate ( vi ) are obtained ; the solid is dissolved at reflux in 25 kg of toluene , treated with carbon and filtered . the solution is concentrated distilling part of the solvent , obtaining crystallisation of the product . 16 kg of heptane are added and it is cooled to 0 ± 5 ° c . for at least one hour to complete the crystallisation . the solid is filtered , washing it with heptane , and dried at reduced pressure and t = 45 ° c . for at least 8 hours . 9 . 4 kg of intermediate ( vi ) are obtained in the form of a white solid of quality suitable for continuation of the synthesis . a sample of intermediate ( vi ) thus obtained , after chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : electron impact mass : [ m + ]= 449 , [ m + ]= 449 - c 4 h 9 = 392 , [ m + ]= 449 - c 4 h 9 - c 6 h 6 = 314 1 . 10 ppm , s , 9h , 2 . 94 ppm , m , 2h , 3 . 12 , m , 2h , 3 . 81 ppm , m , 2h , 4 . 96 ppm , broad d , j = 16 hz , 1h , 5 . 20 ppm , broad d , j = 12 hz , 1h , 5 . 73 ppm , t , j = 1 hz , 1h , 6 . 06 - 6 . 15 ppm , m , 1h , 6 . 50 ppm , d , j = 8 hz , 1h , 6 . 81 ppm , d , j = 8 hz , 1h , 7 . 40 ppm , t , j = 6 hz , 4h , 7 . 46 ppm , t , j = 6 hz , 2h , 7 . 72 ppm , d , j = 6 hz , 4h . all the phases of this reaction take place in an inert atmosphere ( nitrogen ). a mixture of 20 l of toluene , 163 g of josiphos , 46 g of copper ( ii ) acetate is cooled to 0 - 5 ° c . 2 . 7 kg of diphenylsilane are added and it is kept under agitation at 0 - 5 ° c . for approximately 30 minutes . a suspension of 20 l of toluene and 3 . 8 kg of intermediate ( vi ), maintained at t = 10 ° c ., is prepared separately . this suspension is transferred to the mixture containing josiphos , maintaining the system at a temperature between 0 and 5 ° c . a solution of 2 . 2 kg of tertbutanol in 9 . 7 l of toluene is prepared separately and cooled to t = 10 ° c . the solution of tertbutanol is transferred to the suspension of intermediate ( vi ) and josiphos , maintaining the system at a temperature between 0 and 5 ° c . it is agitated until the end of the reaction ( tlc ); as the reaction progresses , the initial suspension becomes a solution . a solution of 6 . 4 kg of naoh at 30 % in water and 14 l of water is prepared separately and cooled to t = 10 ° c . upon completion of the reaction ( tlc ), the basic solution is transferred to the reaction solution maintaining the temperature between 0 and 5 ° c . ; a biphasic system is obtained . upon completion of the addition , the biphasic system is brought back to t = 20 ° c . and the phases are separated . the aqueous phase is re - extracted with 30 l of toluene and the organic phases are collected and washed with water until neutral ph is obtained . 1 kg of dicalite is added to the organic phase and the suspension is filtered . the solvent is eliminated from the organic phase , distilling at reduced pressure and t = 40 - 50 ° c . the oily residue obtained is crystallised with the addition of 76 l of heptane at t = 20 - 25 ° c . it is cooled for at least two hours at t = 0 - 5 ° c . and the solid is filtered . it is dried at reduced pressure at a temperature of between 45 and 50 ° c . until the weight is constant . 2 . 91 kg of intermediate ( vii ) are obtained of quality suitable for continuation of the synthesis . a sample of the product thus obtained , after chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : electron impact mass : [ m + ]= 451 , [ m + ]= 451 − c 4 h 9 = 394 , [ m + ]= 451 − c 4 h 9 − c 6 h 6 = 316 1 . 10 ppm , s , 9h ; 2 . 15 ppm , m , 1h ; 2 . 30 - 2 . 42 m , 2h , 2 . 65 - 2 . 80 ppm , m , 2h , 2 . 95 - 3 . 05 ppm , m , 1h , 3 . 48 - 3 . 70 ppm , m , 3h , 5 . 00 ppm , broad d , j = 18 hz , 1h , 5 . 12 ppm , broad d , j = 10 hz , 1h , 6 . 10 - 6 . 22 ppm , m , 1h , 6 . 35 ppm , d , j = 8 hz , 1h , 6 . 68 ppm , d , j = 8 hz , 1h , 7 . 35 - 7 . 50 ppm , m , 6h , 7 . 68 - 7 . 78 ppm , dd , j = 6 hz , 22 hz , 4h . this example refers to reactions f and g of the process of the invention . in this example the intermediate ( viii ) is not isolated , obtaining the intermediate ( ix ) directly . 2 . 75 kg of the product of formula ( vii ), obtained as described above in example 5 , are dissolved in 46 l of thf . 7 l of water and 46 . 5 g of osmium tetroxide dissolved in 1 . 9 l of tert - butanol are added to the solution , maintained at t between 20 and 25 ° c . lastly 3 . 3 kg of n - methylmorpholine - n - oxide in aqueous solution at 50 % at the same temperature are added and it is kept under agitation until the end of the reaction ( tlc ). a suspension of 3 . 9 kg of naio 4 in 39 l of water is prepared separately . upon completion of the reaction , the suspension of naio 4 is added to the mixture with oso 4 and agitated , at t = 20 - 25 ° c ., until the end of the reaction ( tlc ). upon completion of the reaction , 46 l of isopropyl acetate are added to the reaction mixture , the suspension is filtered and the phases are separated . the aqueous phase is re - extracted with isopropyl acetate , the organic phases are collected and washed with 150 l of a solution of sodium sulphite at 2 . 5 % in water and with 100 l of a solution of nacl at 5 % in water . the solvent is eliminated from the organic phase by distillation at reduced pressure and t = 40 - 50 ° c . until an oily residue is obtained , which is recovered with 28 l of isopropanol , heated to t = 40 - 50 ° c . and then cooled to t between 0 and 5 ° c . ( with partial precipitation ). 230 g of nabh 4 are added and it is kept under agitation at t = 20 - 25 ° c . until the end of the reaction ( tlc ). upon completion of the reaction it is cooled to t between 0 and 5 ° c . and 460 g of acetic acid at 80 % in water followed by 28 l of water at t = 20 - 25 ° c . are added . after a few minutes of agitation ( after all the gases have developed ) the solvent is distilled at reduced pressure and t = 45 - 50 ° c . until a residual volume of approximately 35 l is obtained . it is brought back to t = 20 - 25 ° c . and extracted with 56 l of isopropyl acetate . the aqueous phase is re - extracted with 30 l of isopropyl acetate , then the organic phases are collected and washed with 110 l of water . the organic phase is recovered with 300 g of decolouring carbon and with 1 kg of dicalite . the suspension is filtered and the solvent is eliminated from the organic phase , distilling at reduced pressure and t = 40 - 50 ° c . the oily residue obtained ( 2 . 35 kg ) is the intermediate ( ix ) of quality suitable for continuation of the synthesis . the intermediate ( ix ), after chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : electron impact mass : [ m + ]= 455 , [ m + ]= 455 − c 4 h 9 − c 6 h 6 = 320 1 . 12 ppm , s , 9h , 1 . 58 ppm , broad s , & gt ; 1h , 2 . 12 - 2 . 20 ppm , dd , j = 6 hz , j = 12 hz , 1h , 2 . 30 - 2 . 40 ppm , m , 1h , 2 . 42 - 2 . 50 ppm , dd , j = 10 hz , j = 16 hz , 1h , 2 . 70 - 2 . 82 ppm , m , 2h , 2 . 95 - 3 . 08 ppm , m , 2h , 3 . 10 - 3 . 18 ppm , m , 1h , 3 . 65 - 3 . 70 , m , 1h , 3 . 98 - 4 . 10 ppm , m , 2h , 6 . 36 ppm , d , j = 8 hz , 1h , 6 . 68 ppm , d , j = 8 hz , 1h , 7 . 36 - 7 . 49 ppm , m , 6h , 7 . 68 - 7 . 76 ppm , dd , j = 8 , j = 16 hz , 4h . 2 . 35 kg of the product of formula ( ix ) obtained as described in example 6 are dissolved in 4 . 9 l of pyridine heating to t between 40 and 45 ° c . 1 kg of methanesulphonyl chloride is slowly added to this solution , cooled to 0 ± 5 ° c . the temperature is brought to 20 ± 5 ° c . and it is left under agitation for approximately 2 hours , monitoring the progress of the reaction ( tlc ). in a separate reactor , a biphasic solution with sodium bicarbonate 2 . 2 kg , water 24 l , isopropyl acetate 21 kg is prepared and cooled to 10 ± 5 ° c . at the end of the reaction , the reaction mixture is loaded on the basic mixture and agitated , maintaining a temperature of 10 ± 5 ° c . after all the gases have developed , the temperature is brought back to 20 ± 5 ° c . and the phases are separated . the aqueous phase is re - extracted with 10 kg of isopropyl acetate , the organic phases are collected and washed twice with an acid solution ( 17 l of water + 1 . 8 kg of concentrated hydrochloric acid ). the organic phase is washed with a solution of 3 . 2 kg of nacl in 18 l of water . the organic phase is concentrated to dryness distilling the solvent at a reduced pressure and t 45 ± 5 ° c . 3 kg of intermediate ( x ) are obtained in the form of an oily residue of quality suitable for continuation of the synthesis ( tlc ). a sample of the product thus obtained , after chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : electron impact mass : [ m + ]= 533 , [ m + ]− c 4 h 9 − c 6 h 6 − cn = 372 1 . 13 ppm , s , 9h ; 2 . 13 - 2 . 19 ppm , dd , j = 6 hz , 1h , 2 . 30 - 2 . 40 ppm , m , 1h , 2 . 48 - 2 . 56 ppm , dd , j = 8 hz , j = 16 hz , 1h ; 2 . 63 - 2 . 78 ppm σdd , 2h ; 2 . 86 ppm , s , 3h , 2 . 98 - 3 . 06 ppm , m , 1h , 3 . 15 - 3 . 22 ppm , m , 1h , 3 . 31 - 3 . 38 ppm , m , 1h , 3 . 63 - 3 . 69 ppm , m , 1h , 4 . 50 - 4 . 63 ppm , m , 2h , 6 . 40 ppm , d , j = 8 hz , 1h , 6 . 72 ppm , d , j = 8 hz , 1h , 7 . 38 - 7 . 50 ppm , m , 6h , 7 . 68 - 7 . 75 ppm , m , 4h . the product of formula ( x ) obtained as described in example 7 is dissolved in 22 kg of thf at room temperature . 2 . 8 kg of tetrabutylammonium fluoride trihydrate are added to the solution ensuring that the temperature does not exceed 30 ° c . ( slight exothermia ). it is kept under agitation for at least one hour at t = 25 ± 5 ° c . monitoring the progress of the reaction ( tlc ). in a separate reactor a solution of 9 kg of nacl in 45 l of water is prepared . at the end of the reaction the solution of nacl is poured onto the reaction solution regulating the temperature so that it does not exceed 30 ° c . it is agitated for a few minutes and then re - extracted twice with 18 kg of isopropyl acetate . the collected organic phases are washed twice with 30 kg of water . the organic phase is concentrated to dryness distilling the solvent at a reduced pressure and t = 45 ± 5 ° c . 2 . 40 kg of oily residue are obtained which is purified by chromatography on 40 kg of silica gel ( heptane : ethyl acetate 85 : 15 ). after elimination of the solvent at reduced pressure and t = 45 ± 5 ° c ., 934 g of intermediate ( xi ) is obtained which is refluxed in 2 . 8 l of methanol in the presence of decolouring carbon . the suspension is hot filtered . part of the solvent is distilled at reduced pressure until a residual volume of approximately 2 . 4 l is obtained . it is cooled to 0 & lt ; t & lt ; 5 ° c . for approximately 2 hours before filtering the solid . the product is dried at t = 45 ° c . and at reduced pressure for approximately 12 hours . 577 g of intermediate ( xi ) are obtained of quality suitable for continuation of the synthesis . a sample of the product thus obtained , after further chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : 1 . 98 - 2 . 08 ppm , m , 1h , 2 . 40 - 2 . 50 ppm , m , 1h , 2 . 52 - 2 . 59 ppm , dd , j = 8 hz , j = 15 hz , 1h , 2 . 66 - 2 . 75 ppm , dd , j = 6 hz , j = 15 hz , 1h , 2 . 81 - 2 . 88 ppm , m , 1h , 2 . 96 - 3 . 04 ppm , m , 1h ; 3 . 13 - 3 . 22 ppm , m , 1h , 3 . 28 - 3 . 36 ppm , 1h , m ; 3 . 48 - 3 . 56 ppm , m , 1h , 4 . 52 - 4 . 69 ppm , m , 2h , 6 . 69 ppm , d , j = 8 hz , 1h , 7 . 02 ppm , d , j = 8 hz , 1h . this example refers to reaction a of the process of the invention ( preparation of ramelteon ). 470 g of product of formula ( xi ), obtained as described in example 8 , are dissolved in 84 kg of thf . 615 g of propionic anhydride and 150 g of pt / c escat 22 ( pt at 5 % on carbon ) are added to the solution . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p 8 / 9 bar . after 4 h the progress of the reaction is checked ( tlc ), it is filtered and a further 50 g of pt / c escat 22 are loaded . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p = 8 / 9 bar , checking the progress of the reaction ( tlc ). at the end of the reaction , the catalyst is filtered and the solvent is eliminated at reduced pressure . the residue is recovered with 11 kg of isopropyl acetate . the organic phase is washed with a basic aqueous solution ( 900 g of nahco 3 in 10 l of water ), with an aqueous solution of nacl ( 500 g of nacl in 10 l of water ) and then with water until neutral ph is reached . the solvent is distilled at reduced pressure and t = 55 ± 5 ° c . the residue obtained , which tends to crystallise spontaneously , is crystallised with heptane and ethyl acetate . 380 g of ramelteon are obtained , the analytical characteristics of which match the data reported in literature . this product , analysed with chiral hplc ( ceramospher chiral ru - 1 ) shows an e . e . of 100 %. this example refers to reaction a of the process of the invention ( preparation of ramelteon ). 20 g of product of formula ( xi ) are dissolved in 1 . 8 kg of thf . 26 g of propionic anhydride and 5 g of pt / c escat 22 are added to the solution . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p = 10 / 12 bar . after 4 h the progress of the reaction is checked ( tlc ), it is filtered and a further 2 . 5 g of pt / c escat 22 are loaded . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p = 10 / 12 bar , checking the progress of the reaction ( tlc ). at the end of the reaction , the catalyst is filtered and the solvent is eliminated at reduced pressure . the residue is recovered with 1 l of isopropyl acetate . the organic phase is washed with a basic aqueous solution ( 10 g of nahco 3 in 1 l of water ), with aqueous solution of nacl ( 10 g of nacl in 1 l of water ) and lastly with water until neutral ph is reached . the solvent is distilled at reduced pressure and t = 55 ± 5 ° c . the residue obtained , which tends to crystallise spontaneously , is crystallised with heptane and ethyl acetate . 16 . 7 g of ramelteon are obtained , the characteristics of which match the data reported in literature . the entire process is performed in an inert atmosphere ( nitrogen ). 100 g of intermediate ( vi ), obtained as described in example 4 , are dissolved at room temperature in 1 . 7 l of thf . 170 ml of water , 84 ml of solution at 2 . 5 % of oso 4 in tert - butanol and 60 g of 4 - methylmorpholine - n - oxide monohydrate are added . it is kept under agitation at t = 20 ± 5 ° c . checking the progress of the reaction ( tlc ). at the end of the reaction , 1 l of aqueous solution of nacl at 5 % and 1 . 7 l of isopropyl acetate are added to the reaction mixture . the phases are separated and the aqueous phase is re - extracted with 700 ml of isopropyl acetate . the collected organic phases , after further washing with 1 l of aqueous solution of nacl , are concentrated to dryness at reduced pressure and t 40 ± 5 ° c . 152 g of residue are obtained which , purified by chromatography on silica gel ( heptane : ethyl acetate 3 : 1 ) provide 96 g of intermediate diol as a white solid . a sample of the product thus obtained undergoes 1 h - nmr and mass analysis obtaining the following result : 1 . 13 ppm , s , 9h , 1 . 6 ppm , s , 1h , 2 . 03 ppm broad s , 1h , 2 . 45 ppm , d , j = 4 hz , 1h , 2 . 92 ppm , m , 2h , 3 . 05 - 3 . 35 ppm , m , 3h , 3 . 72 ppm , m , 1h , 3 . 85 ppm , m , 1h , 4 . 18 ppm , m , 1h , 6 . 08 ppm , t , j = 2 hz , 1h , 6 . 55 ppm , d , j = 8 hz , 1h , 6 . 79 ppm , d , j = 8 hz , 1h , 7 . 37 - 7 . 50 ppm , m , 6h , 7 . 67 - 7 . 76 ppm , m , 4h ; 38 g of intermediate diol are dissolved in 680 ml of thf at room temperature . 56 g of naio 4 in 56 ml of water are added to the solution and agitated , maintaining a temperature & lt ; 35 ° c . at the end of the reaction ( tlc ) it is recovered with 700 ml of isopropyl acetate , filtered on dicalite and the organic phase is separated . the aqueous phase is re - extracted with 800 ml of isopropyl acetate and the collected organic phases are washed with a reducing solution ( 1 . 5 l of aqueous solution at 2 . 5 % of sodium sulphite ) and with saline solution ( 1 . 5 l of aqueous solution at 5 % of sodium chloride ). the solvent is eliminated at reduced pressure and t = 40 ± 5 ° c . 36 g of intermediate ( 7 ) are obtained in the form of a slightly yellow solid of quality suitable for continuation of the synthesis . a sample of the product thus obtained undergoes 1 h - nmr and mass analysis obtaining the following result : 1 . 10 ppm , s , 9h , 2 . 95 ppm , t , j = 6 hz , 2h , 3 . 14 m , 2h , 4 . 18 ppm , d , 2h , 5 . 66 ppm , t , 1h , 6 . 58 ppm , d , j = 8 hz , 1h , 6 . 86 ppm , d , j = 8 hz , 1h , 7 . 42 ppm , t , j = 8 hz , 4h , 7 . 48 ppm , m , 2h , 7 . 72 ppm , broad d , j = 6 hz , 4h , 9 . 85 , t , 1h . the entire process is performed in an inert atmosphere ( nitrogen ). 180 g of intermediate ( vi ), obtained as described in example 4 , are dissolved at room temperature in 3 l of thf . 540 ml of water , 150 ml of solution at 2 . 5 % of oso 4 in tert - butanol and 108 g of 4 - methylmorpholine - n - oxide monohydrate are added . it is kept under agitation at t = 20 ± 5 ° c . checking the progress of the reaction ( tlc ). at the end of the reaction , 3 l of isopropyl acetate and 1800 ml of solution of nacl at 5 % are added to the reaction mixture , then the phases are separated . the aqueous phase is extracted with 1 . 3 l of isopropyl acetate . the collected organic phases are washed with 2 . 5 l of solution of sodium sulphite at 3 . 5 % and with 2 . 5 l of solution of nacl at 5 %. the organic phase is concentrated to dryness at reduced pressure , obtaining 230 g of yellow oil ( intermediate diol ) which is used as is without further purifications . it is dissolved in 3 . 0 l of thf , heating to 45 ° c ., and the solution is then cooled to 20 ° c . a suspension of 390 g of naio 4 in 4 l of water is prepared and added to the solution with the product ; it is agitated , keeping the temperature at & lt ; 40 ° c . at the end of the reaction ( tlc ) it is recovered with 2 . 7 l of isopropyl acetate , filtered on dicalite and the organic phase is separated . the aqueous phase is re - extracted with 1 . 8 l of isopropyl acetate . the collected organic phases are washed with reducing solution ( 1 . 8 l of aqueous solution at 3 . 5 % of sodium sulphite ) and with saline solution ( 1 . 8 l of aqueous solution at 5 % of sodium chloride ). the solvent is eliminated at reduced pressure and t = 40 ± 5 ° c . 211 g of solid product are obtained which , purified by chromatography on silica gel ( heptane : ethyl acetate 9 : 1 ), provide 145 g of intermediate ( 7 ) in the form of a slightly yellow solid with analytical characteristics comparable to those of the product of example 11 . the entire process is performed in an inert atmosphere ( nitrogen ). 20 g of intermediate ( vi ), obtained as described in example 4 , are dissolved at room temperature in 340 ml of thf . 60 ml of water , 16 . 7 ml of solution at 2 . 5 % of oso 4 in tert - butanol and 12 . 1 g of 4 - methylmorpholine - n - oxide monohydrate are added . it is kept under agitation at t = 20 ± 5 ° c . checking the progress of the reaction ( tlc ). at the end of the reaction , 340 ml of isopropyl acetate and 200 ml of solution of nacl at 5 % are added to the reaction mixture and the phases are then separated . the aqueous phase is extracted with 140 ml of isopropyl acetate . the collected organic phases are washed with 280 ml of solution of sodium sulphite at 3 . 5 % and with 280 ml of solution of nacl at 5 %. the organic phase is concentrated to dryness at reduced pressure , obtaining 26 g of yellow oil ( intermediate dial ) which is dissolved in 340 ml of thf , heating to 45 ° c . ; the solution is then cooled to 20 ° c . a suspension of 43 g of naio 4 in 430 ml of water is prepared , added to the solution with the intermediate and agitated , keeping the temperature at & lt ; 40 ° c . at the end of the reaction ( tlc ) everything is recovered with 300 ml of isopropyl acetate , filtered on dicalite and the organic phase is separated and washed with water . the aqueous phase is re - extracted with 200 ml of isoproyl acetate . the collected organic phases are washed with reducing solution ( sodium sulphite in water ) and with saline solution ( sodium chloride in water ). the solvent is eliminated at reduced pressure and t = 40 ± 5 ° c . 23 g of raw intermediate ( 7 ) are obtained . the intermediate ( 7 ) is agitated with 100 ml of isopropanol at 60 ° c . for 30 minutes , cooled to 0 ° c . for one hour and filtered . after washing with isopropanol and drying , 18 . 3 g of intermediate ( 7 ) of quality suitable for continuation of the synthesis are obtained . 120 g of intermediate ( 7 ), obtained as described above , are dissolved in 1 . 2 l of isopropanol and treated with 10 g of nabh 4 . the reaction temperature is maintained below 15 ° c . during addition of the reducing agent . it is then kept under vigorous agitation at room temperature until the end of the reaction ( tlc ). at the end of the reaction , it is recovered with 16 ml of glacial acetic acid and 1 . 2 l of cold water , and agitated for approximately one hour maintaining t & lt ; 10 ° c . the isopropanol is distilled at reduced pressure , then the aqueous phase is extracted twice with 1 l of isopropyl acetate . the collected organic phases are washed with water . having eliminated the solvent at reduced pressure and t = 40 ± 5 ° c ., 104 g of intermediate ( 8 ) are obtained of quality suitable for continuation of the synthesis . the intermediate ( 8 ), after chromatographic purification for analytical purposes , undergoes 1 h - nmr and mass analysis obtaining the following result : 1 . 15 ppm , s , 9h , 1 . 75 ppm , broad s , & gt ; 1h , 2 . 92 ppm , t , j = 6 hz , 2h , 3 . 15 ppm , m , 2h , 3 . 37 ppm , t , j = 6 hz , 2h , 4 . 0 ppm , t , j = 6 hz , 2h , 6 . 0 ppm , m , 1h , 6 . 55 ppm , d , j = 8 hz 1h , 6 . 80 ppm , d , j = 8 hz 1h ; 7 . 40 ppm , broad t , j = 6 hz , 4h , 7 . 46 ppm , broad t , j = 6 hz , 2h , 7 . 75 ppm , broad d , j = 6 hz , 4h . 96 g of intermediate ( 8 ) obtained as described in example 14 are dissolved in 190 ml of pyridine , heating to a temperature between 40 and 45 ° c . 50 ml of methanesulphonyl chloride are added slowly to the above solution , cooled to approximately 10 ° c . it is left under agitation at 20 ± 5 ° c . for approximately 2 hours checking the progress of the reaction ( tlc ). at the end of the reaction 2 l of isopropyl acetate and 1 . 8 l of aqueous solution saturated with sodium bicarbonate are loaded in the reaction mixture . it is agitated for approximately 30 minutes maintaining the temperature at approximately 20 ° c . the phases are separated and the aqueous phase is re - extracted three times with 0 . 6 l of isopropyl acetate . the organic phases are collected and washed with 1 l of acid aqueous solution ( hcl 1 m ) twice and three times with 1 l of aqueous solution saturated with nacl . the organic phase is concentrated to dryness distilling the solvent at reduced pressure and t = 45 ± 5 ° c . 103 g of intermediate ( 9 ) are obtained in the form of a solid residue of quality suitable for continuation of the synthesis ( tlc ). a sample of the product thus obtained , after chromatographic purification for analytical purposes , undergoes 1 h - nmr analysis obtaining the following result : 1 . 15 ppm , s , 9h , 2 . 92 ppm , t , j = 6 hz , 2h ; 2 . 97 ppm , s , 3h , 3 . 15 ppm , m , 2h , 3 . 55 ppm , t , j = 6 hz , 2h ; 4 . 50 ppm , t , j = 6 hz , 2h ; 5 . 88 ppm , broad s , 1h , 6 . 55 ppm , d , j = 8 hz , 1h , 6 . 82 ppm , d , j = 8 hz , 1h , 7 . 40 ppm , t , j = 8 hz , 4h , 7 . 48 ppm , t , j = 8 hz , 2h , 7 . 72 ppm , d , j = 8 hz , 4h . 97 g of intermediate ( 9 ) obtained as described in example 15 are dissolved in 1 l of thf at room temperature . 86 g of tetrabutylammonium fluoride trihydrate are added to the solution , regulating the temperature so that it does not exceed 40 ° c . ( slightly exothermic reaction ). it is kept under agitation for at least one hour at t = 25 ± 5 ° c . checking the progress of the reaction ( tlc ). 1 . 5 l of solution saturated with nacl are prepared separately . at the end of the reaction , the solution of nacl is poured onto the reaction solution and everything is extracted twice with 1 l of isopropyl acetate . the collected organic phases are washed twice with 1 . 5 l of water . the organic phase is concentrated to dryness distilling the solvent at reduced pressure and t = 45 ± 5 ° c . are obtained 89 g of residue which is purified by chromatography on silica gel ( heptane : ethyl acetate 8 : 2 ). after elimination of the solvent at reduced pressure and t = 45 ± 5 ° c ., 35 g of intermediate ( 10 ) are obtained of quality suitable for continuation of the synthesis . a sample of the product thus obtained undergoes 1 h - nmr and mass analysis obtaining the following result : 3 . 08 ppm , m , 2h , 3 . 12 ppm , m , 2h , 3 . 31 ppm , t , j = 8 hz , 2h , 4 . 68 ppm , t , j = 8 hz , 2h , 5 . 46 ppm , non - resolved t , 1h , 6 . 88 ppm , d , j = 8 hz , 1h , 7 . 12 ppm , d , j = 8 hz , 1h . all the phases of the reaction are performed in an inert atmosphere working with solvents degassed with nitrogen . 890 mg of copper ( ii ) acetate and 3 . 12 g of josiphos sl - j001 - 2 are suspended in 200 ml of toluene and everything is agitated at t = 0 ° c ., then 53 ml of diphenylsilane are added . after 45 minutes 32 g of intermediate ( 10 ) are added to this suspension , in 200 ml of toluene . lastly 53 ml of tert - butanol and 80 ml of toluene are added to the resulting suspension . it is kept under agitation at t = 0 ± 2 ° c . checking the progress of the reaction ( tlc ). at the end of the reaction , maintaining t = 0 ± 2 ° c ., the reaction mixture is recovered with 160 ml of aqueous solution of naoh 2 . 5 n . it is agitated for approximately 30 minutes allowing the temperature to rise spontaneously to 20 ° c ., then the phases are separated . the aqueous phase is extracted with 250 ml of toluene . the toluenic phase is washed with water ( 250 ml three times ). the organic phase , filtered on a dicalite panel , is evaporated at reduced pressure and t = 40 ± 5 ° c . an orange oil is obtained which , chromatographed on silica gel ( heptane : ethyl acetate 9 : 1 ) and evaporated to constant weight , provides 27 g of solid . this product , of quality suitable for continuation of the synthesis , can be crystallised from methanol to provide 23 g of intermediate ( xi ), the analytical characteristics of which match the product obtained in example 8 . this example refers to a first possible method of carrying out reaction β 1 of the process of the invention . 10 g of product of formula ( xi ), obtained as described in example 17 , are dissolved in 0 . 5 l of methanol . 410 ml of nh 3 in methanol ( 12 . 2 % w / w ) and 12 g of aqueous suspension of raney nickel are added to the solution . it is hydrogenated at ambient pressure and temperature checking the progress of the reaction every 2 hours . at the end of the reaction ( tlc ) the catalyst is eliminated by filtration . the solution is concentrated to dryness at reduced pressure . the residue , dissolved in 500 ml of ethyl acetate , is washed twice with an acid solution ( 100 ml hcl 1 m ). the collected aqueous phases are basified to ph & gt ; 9 with aqueous solution of naoh . after filtering on card and salting with 55 g of nacl it is extracted four times with 200 ml of thf . the solvent is distilled at reduced pressure and t = 45 ± 5 ° c . 11 g of yellow solid ( intermediate ( xii )) are obtained of quality suitable for continuation of the synthesis . this example refers to a second possible method of carrying out reaction β 1 of the process of the invention . 25 g of raney nickel wet with water are agitated with 200 ml of isopropanol for a few minutes . a large part of the solvent is eliminated by decantation of the solid . the operation is repeated twice . 100 ml of isopropanol , 10 g of intermediate ( xi ) and 3 g of koh are then added to the catalyst . the suspension is refluxed for at least two hours checking the progress of the reaction ( tlc ). at the end of the reaction the catalyst is filtered and the solvent is eliminated , distilling at reduced pressure . the residue is recovered and agitated for 30 minutes at 20 ° c . with 100 ml of 3 m aqueous hydrochloric acid . an aqueous solution at 10 % of naoh is added up to ph = 9 . the result is checked by tlc . 50 g of nacl are added to the reaction mixture and it is then extracted twice with 500 ml of thf . the solvent is distilled at reduced pressure and t = 45 ± 5 ° c . the residue obtained is recovered with 100 ml of hcl in isopropanol ( 20 % by weight ). after filtering and drying ( reduced p , t = 45 ± 5 ° c . ), 7 g of hydrochloride of the intermediate ( xii ) are obtained . a sample of the product thus obtained undergoes 1 h - nmr ( dmso ) and mass ( electron impact ) analysis : 1 . 6 - 1 . 8 ppm , m , 2h ; 2 . 05 - 2 . 25 ppm , in , 2h , 2 . 65 - 2 . 90 ppm , m , 4h ; 3 . 05 - 3 . 25 ppm , m , 3h , 4 . 4 - 4 . 6 ppm , m , 2h , 6 . 55 ppm , d , j = 8 hz , 1h , 6 . 97 ppm , d , j = 8 hz , 1h , 8 . 00 - 8 . 15 ppm broad signal the hydrochloride intermediate ( xii ), dissolved in water and brought back to free base with naoh , is compared in high performance thin layer chromatography ( hptlc silica gel 60 f 254 glass plates merck 1 . 13727 . 0001 ) with the intermediate ( xii ) described in the preceding examples , obtaining complete overlap . this example refers to a third possible method of performing reaction β 1 of the process of the invention . 23 g of intermediate ( xi ), obtained as described previously , are dissolved in 900 ml of thf at room temperature , in an inert atmosphere ( nitrogen ). it is then brought to t = 0 ± 5 ° c . lialh 4 is added with care , keeping under agitation at t = 15 ° c . the progress of the reaction is checked after at least one hour ( tlc ). at the end of the reaction ethyl acetate is first added with care , then it is poured into a solution saturated with nacl ( nacl ss ) with the addition of ice . the phases are separated , it is re - extracted with ethyl acetate , washed with nacl ss and anhydrified on sodium sulphate . the solvent is eliminated at reduced pressure and t = 45 ° c ., obtaining 20 g of raw intermediate ( xii ). this example refers to a fourth possible method of performing reaction β 1 of the process of the invention . 10 g of product of formula ( xi ) obtained as described previously are dissolved in 1 l of thf - ammonia methanol at 5 %. 5 g of pt / c escat 22 are added to the solution . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p = 10 / 12 bar . after 4 h the progress of the reaction is checked ( tlc ), it is filtered and a further 2 . 5 g of pt / c escat 22 are loaded . the suspension is brought to t = 65 ± 5 ° c . and hydrogenated at p = 10 / 12 bar checking the progress of the reaction ( tlc ). at the end of the reaction , the catalyst is filtered and the solvent is eliminated at reduced pressure . the residue is recovered and agitated for 30 minutes at 20 ° c . with 100 ml of 3 m aqueous hydrochloric acid . an aqueous solution at 10 % of naoh is added ( cooling to maintain a temperature of approximately 20 ° c .) until ph = 9 . 50 g of nacl are added to the reaction mixture and then it is extracted twice with 500 ml of thf . the solvent is distilled at reduced pressure and t = 45 ± 5 ° c . the residue obtained is recovered with 100 ml of hcl in isopropanol ( 20 % by weight ). after filtering and drying ( reduced p , t = 45 ± 5 ° c . ), 5 g of hydrochloride intermediate ( xii ) are obtained . this example refers to reaction β 2 ) of the process of the invention — preparation of ramelteon . 10 g of intermediate ( xii ), obtained as described in example 18 , are suspended in 500 ml of thf at room temperature . it is cooled to t = 0 - 5 ° c . and 13 . 6 ml of triethylamine and 5 . 6 ml of propionyl chloride are added . it is agitated allowing the temperature to rise to approximately 25 ° c . the progress of the reaction is checked after no less than one hour ( tlc ). at the end of the reaction , it is cooled to t = 0 - 5 ° c ., 500 ml of water are added and it is extracted with ethyl acetate ( 500 ml three times ). the collected organic phases , washed with aqueous solution saturated with nacl , are concentrated to dryness by distillation at reduced pressure and t = 45 ° c . the raw ramelteon ( 13 g ) is purified by chromatography on silica gel ( heptane : ethyl acetate 4 : 6 ) and crystallised with heptane and ethyl acetate as described previously ( 10 . 3 g ). 3 g of product of formula ( 9 ) obtained as described previously are dissolved in 30 ml of thf at room temperature . 0 . 179 g of tetrabutylammonium fluoride trihydrate and 0 . 68 g of kf are added to the solution , regulating the temperature so that it does not exceed 40 ° c . it is kept under agitation for at least 12 hours at t = 25 ± 5 ° c . in an inert atmosphere checking the progress of the reaction ( tlc ). at the end of the reaction 30 ml of isopropyl acetate and 45 ml of solution saturated with nacl are added to the reaction solution . after the phases separate ( slow separation ), the aqueous phase is re - extracted twice with 25 ml of isopropyl acetate . the organic phases are collected and washed with water . the solvent is eliminated from the organic phase by distillation at reduced pressure , obtaining 2 . 8 g of solid ( single - stain tlc ). 3 g of product of formula ( 9 ) obtained as described previously are dissolved in 30 ml of thf at room temperature . 0 . 178 g of tetrabutylammonium fluoride trihydrate , 10 ml of water and 0 . 68 g of kf are added to the solution , adjusting the temperature so that it does not exceed 40 ° c . the reaction mixture has two distinct phases . it is kept under agitation for approximately 3 hours at t = 25 ± 5 ° c . and in an inert atmosphere checking the progress of the reaction ( tlc ). at the end of the reaction , 10 ml of isopropyl acetate are added to the reaction solution and the phases are separated . the aqueous phase is re - extracted twice with 10 ml of isopropyl acetate . the organic phases are collected and washed with an aqueous solution of nacl . the solvent is eliminated from the organic phase by distillation at reduced pressure , obtaining 2 . 5 g of solid ( single - stain tlc ). 8 . 0 g of intermediate ( 7 ) are suspended in 80 ml of isopropanol ; the suspension is cooled to t = 0 - 5 ° c . 0 . 69 g of nabh 4 , dissolved in 2 ml of aqueous solution of nahco 3 at 2 . 5 %, are added slowly to the solution of intermediate ( 7 ). the reaction mixture is brought to 25 ° c . and kept under agitation for approximately 4 hours . at the end of the reaction ( tlc control ) 80 ml of water containing 1 . 1 ml of glacial acetic acid are added to the reaction mixture , cooling in order to keep the temperature below 15 ° c . the precipitation of a pale solid is observed and the formation of a yellow oil along the walls of the flask . the mixture is heated to 45 ° c . for 30 minutes to crumble the solid and dissolve the oil . 40 ml of water are added and the mixture is cooled in ice for one hour . the solid obtained , isolated by filtration and washed with water ( 40 ml three times ), is dried in a stove under a vacuum at 45 ° c . for one night , obtaining 7 . 5 g of intermediate ( 8 ) of quality suitable for continuation of the synthesis . 6 . 0 g of intermediate ( 8 ) are dissolved in 18 ml of pyridine . the mixture is cooled to approximately 5 ° c ., then 2 . 15 ml of mesyl chloride are added keeping the temperature below 20 ° c . the reaction mixture , consisting of a suspension , is then brought to 25 ° c . after approximately 2 hours ( tlc control ) the reaction mixture is cooled to approximately 5 ° c . and a further 2 . 15 ml of mesyl chloride and 6 ml of pyridine are added , keeping the temperature below 20 ° c . after approximately one hour at 25 ° c . the reaction is complete ( tlc ). 120 ml of isopropyl acetate and 108 ml of saturated solution of nahco 3 are added , cooling in order to keep the temperature below 25 ° c . the biphasic mixture is filtered on card to isolate the insoluble solid ( approximately 2 . 5 g wet ) confirmed by the tlc analysis to be the desired product . the aqueous phase is extracted twice with 72 ml of isopropyl acetate . the solid isolated by filtration is added to the collected organic phases ; to obtain complete solubility it is necessary to heat to 45 ° c . the organic phase , washed three times with 120 ml of 1m hcl and three times with 120 ml of saturated solution of nacl , is concentrated to dryness at reduced pressure , obtaining 6 . 8 g of pale solid . the solid is agitated with 14 ml of isopropyl acetate at 45 ° c . for one hour . 7 ml of heptane are added to the hot suspension , then it is cooled in ice for one hour . the solid , isolated by filtration and washed with 7 ml of cold heptane , is dried in a stove under a vacuum at 45 ° c . ; 6 . 1 g of intermediate ( 9 ) are obtained in the form of a white solid of quality suitable for continuation of the synthesis . 6 . 0 g of intermediate ( 8 ) are dissolved in 24 ml of pyridine . 5 . 10 ml ( 5 mol / mol of substrate ) of mesyl chloride ( d = 1 . 48 g / ml ) are added dropwise , keeping the temperature between 25 and 35 ° c . the reaction mixture , consisting of a dense but agitable suspension , is then kept at 25 - 30 ° c . after 30 ′ the progress of the reaction is checked ( tlc ). 0 . 54 ml ( 0 . 5 mol / mol of substrate ) of mesyl chloride are added dropwise maintaining the temperature between 25 and 35 ° c . after 30 ′ the reaction is complete . 120 ml of saturated solution of nahco 3 are added to the reaction mixture , cooling in order to keep the temperature below 20 ° c . it is checked that it is ph = 7 . the suspension is agitated at 45 ° c . for 30 ′ and then cooled in ice for 30 ′. the solid is isolated by filtration and washed with 28 ml of water , then re - loaded in a reaction flask and dissolved in 175 ml of ethyl acetate . the organic phase is washed with 70 ml of 1m hcl to eliminate the residual pyridine . the organic phase is then washed three times with 70 ml of water , checking that the ph after the last washing is 6 - 7 . the organic phase is concentrated to dryness at reduced pressure , obtaining 6 . 8 g of pale solid . the solid is recovered with 21 ml of isopropyl acetate at 45 ° c . for 30 ′. 14 ml of heptane are added to the hot suspension . the suspension is cooled in ice for one hour . the resulting solid , isolated by filtration and washed with 7 ml of cold heptane containing 4 . 5 % v / v of isopropyl acetate , is dried in a stove under a vacuum at 45 ° c . ; 6 . 2 g of intermediate ( 9 ) are obtained of quality suitable for continuation of the synthesis . this example refers to reactions i and g ′ to produce the intermediate ( xii ) as a salt of hcl ( hydrochloride ). 0 . 829 g of anhydrous copper ( ii ) acetate and 2 . 923 g of josiphos sl - j001 - 2 are suspended in 190 ml of toluene . the suspension is cooled to 0 ° c ., then 49 . 5 ml of diphenylsilane are added , keeping the temperature at 0 - 5 ° c . for a further 45 ′. 30 . 0 g of intermediate ( 10 ) and 190 ml of toluene are added to the reaction mixture , keeping the temperature at 0 - 5 ° c . 50 ml of tert - butanol diluted in 70 ml of toluene are added and it is agitated , keeping the reaction temperature at 0 ° c . until the end of the reaction . at the end of the reaction ( tlc control ) a basic aqueous solution is added ( 18 g of naoh in 150 ml of water ), keeping the temperature at 0 ° c . the mixture is heated to 20 - 25 ° c . and the phases are then separated . the aqueous phase is extracted with 75 ml of toluene . the collected organic phases are washed in sequence : with 240 ml of water containing 27 g of nacl and 40 ml of 1m hcl , with 240 ml of water containing 27 g of nacl and with 240 ml of water ( the ph of the aqueous phase is approximately 7 ). the organic phase is treated with 1 . 5 g of carbon and 3 g of silica and left under agitation for 15 ′ and then filtered on decalite ; lastly the panel is washed with toluene . the organic phase is concentrated to dryness at reduced pressure , obtaining 104 . 2 g of orange oil which are dissolved in 807 g of solution of ammonia methanol . 20 . 9 g of raney ni ( decanted from water ) and 650 ml of methanol are added to the solution . hydrogenation is performed at room temperature and under a slight hydrogen overpressure , monitoring progress by tlc . at the end of the reaction the reaction mixture is filtered on decalite and the panel is washed with methanol . the solution is concentrated to dryness at reduced pressure obtaining 90 . 7 g of orange oil which is treated with 61 ml of toluene ( solution ). 6m hcl ( 25 ml of concentrated hcl diluted with 25 ml of water ) is added dropwise to the solution , cooled in ice , in order to keep the temperature below 20 ° c . : the precipitation of a solid is obtained . the suspension is kept at 0 ° c . for 30 ′. the solid is isolated by filtration and washed on the filter with 30 ml of toluene . the wet solid is then pulped at room temperature for 30 ′ in 90 ml of toluene , isolated by filtration and washed with 30 ml of toluene . after drying under a vacuum at 45 ° c . for approximately 12 h , 29 . 9 g of hydrochloride intermediate ( xii ) are obtained of quality suitable for continuation of the synthesis . this intermediate can be further purified with acetone . the hydrochloride intermediate ( xii ), suspended in 320 ml of acetone , is agitated at 20 / 25 ° c . for 30 minutes before being filtered . after drying at 45 ° c . and reduced pressure for approximately 12 hours , 24 g of hydrochloride intermediate ( xii ) are obtained . this example refers to the preparation of ramelteon from the hydrochloride intermediate ( xii ) via reaction β 2 of the process of the invention . the operation is performed under a nitrogen flow . 15 g of hydrochloride intermediate ( xii ) are suspended in 450 ml of thf . 31 ml of tea are added to the suspension and everything is cooled to 0 ° c . 7 . 2 ml of propionyl chloride are added to the reaction mixture , keeping the temperature below 15 ° c . the suspension is brought to 20 - 25 ° c . and agitated at said temperature until the end of the reaction ( tlc control ). the reaction mixture is cooled to 0 ° c . and 240 ml of water and 150 ml of isopropyl acetate are added , keeping the temperature below 15 ° c . the phases are separated and the aqueous phase is extracted with 150 ml of isopropyl acetate . the collected organic phases are washed with 240 ml of water containing 42 . 5 g of nacl . the organic phase is concentrated at reduced pressure to dryness , obtaining 16 . 2 g of raw ramelteon which is then purified as described in the preceding examples or as already described in literature . this example refers to the preparation of ramelteon from the hydrochloride intermediate ( xii ) via reaction of the process of the invention . 25 g of hydrochloride intermediate ( xii ) are suspended in 63 ml of thf . 88 ml of water are added to the suspension , obtaining complete dissolution . 31 . 4 g of aqueous solution of naoh at 30 % are then added to the reaction mixture , obtaining a biphase solution . keeping the reaction temperature between 20 and 25 ° c ., 15 . 5 ml of propionic anhydride are added and , after the addition , it is agitated at the same temperature for 1 hour checking the end of the reaction ( tlc ). at the end of the reaction , it is cooled to t = 10 ° c . and 200 ml of water are added . the suspension is cooled and agitated for at least 2 hours at t = 0 ° c . the solid obtained is filtered and washed with water . after drying at reduced pressure for at least 12 hours at t = 45 ° c ., 26 . 9 g of ramelteon ( white solid ) are obtained . if the hydrochloride intermediate xii used has been previously crystallised by the water - isopropanol mixture , the ramelteon obtained has hplc titer greater than 99 % and enantiomeric excess greater than 99 . 9 %. the purity of the product can be further increased by performing the purifications described in the preceding examples and in the literature .