the compound of formula converting a functional group of r 2 in a compound of formula 1 4 into another functional group to obtain another compound of formula i 4 3 methylsulfanyl 5 1 2 4 5 tetrahydro benzo or thieno azepin 3 yl 1 2 4 triazine 6 carbonitriles i 2 are prepared by reaction of 3 methylthio 5 chloro 6 cyano 1 2 4 triazine j j huang j org chem 1985 50 2293 2298 with tetrahydro benzo or thieno azepine compounds iii e g 2 3 4 5 tetrahydro 1h benzo d azepine hydrochloride j heterocycl chem 1971 8 5 779 83 in the presence of a base like triethylamine or ethyl diisopropylamine in solvents like n n dimethylformamide dimethylsulfoxide methyl ethylketone ethanol dioxane or tetrahydrofuran at temperatures between 10 and 50 u00b0 c substitution of the me u2014 s group in compound i 2 by optionally substituted n nucleophiles can be performed in water ethanol n n dimethylformamide dimethylsulfoxide 1 2 dimethoxyethane preferentially in dioxane at elevated temperatures preferentially 100 u00b0 c to 160 u00b0 c substitution of the me u2014 s group in compound i 2 by optionally substituted o nucleophiles can be performed in an inert solvent as ethers like 1 2 dimethoxyethane or dioxane at temperatures between room temperature and 120 u00b0 c after transformation of the corresponding alcohol into an alcoholate using a base like sodium hydride or potassium hydride the functionalization of the o and n nucleophiles can also serve as a protective function thus modifications at the other part of the r 21 substituent are allowed e g removal of a.