the reaction between the vinyl substituted pyrazine compound and the amine can be conducted at temperatures of from about 25 ° c . to about 250 ° c ., preferably from about 60 ° c . to about 200 ° c ., most preferably from about 90 ° c . to about 140 ° c . in the presence of a catalyst and optionally in the presence of a suitable reaction medium for a time sufficient to complete the reaction , usually from about 30 minutes to about 96 hours , preferably from about 2 hours to about 24 hours , most preferably from about 2 hours to about 8 hours . preferably , the vinyl substituted pyrazine compound and the amine are reacted at their reflux temperature in the absence of a suitable reaction medium or solvent . also , the reaction can be conducted under reduced pressure . the mole ratio of amine to vinyl substituted pyrazine compound is from about 0 . 1 : 1 to about 4 : 1 , suitably from about 0 . 25 : 1 to about 2 : 1 , more suitably from about 0 . 50 1 to about 1 : 1 . suitable vinyl substituted pyrazine compounds include , for example , those represented by the following formula ## str1 ## wherein each r is independently hydrogen or an aliphatic hydrocarbon group having from 1 to about 4 , preferably from 1 to about 2 , carbon atoms : each x is independently hydrogen , halogen , -- no 2 or a hydrocarbyl or hydrocarbyloxy group having from 1 to about 24 carbon atom , with the proviso that any x group does not interfere with the reaction between the vinyl substituted pyrazine compound and the amine of component ( a - 2 ): and n has a value from 1 to 4 . the term hydrocarbyl as employed herein includes , alkyl , cycloalkyl , aryl , aralkyl , alkaryl , alkenyl and the like . likewise , the term hydrocarbyloxy as employed herein includes , alkyloxy , cycloalkyloxy , aryloxy , aralkyloxy , alkaryloxy , alkenyloxy and the like . particularly suitable vinyl substituted pyrazine compounds include , for example , 2 - vinylpyrazine ( 2 - ethenylpyrazine ), 2 , 5 - divinylpyrazine ( 2 , 5 - diethenylpyrazine ), 2 - methyl - 3 - vinylpyrazine ( 3 - ethenyl - 2 - methylpyrazine ), 2 - methyl - 5 - vinylpyrazine ( 5 - ethenyl - 2 - methylpyrazine ), 2 - methyl - 6 - vinylpyrazine ( 6 - ethenyl - 2 - methylpyrazine ), 2 , 5 - dimethyl - 3 - vinylpyrazine ( 3 - ethenyl - 2 , 5 - dimethylpyrazine ), 2 , 6 - dimethyl - 5 - vinylpyrazine ( 5 - ethenyl - 2 , 6 - dimethylpyrazine ), 2 , 3 , 6 - trimethyl - 5 - vinylpyrazine ( 5 - ethenyl - 2 , 3 , 6 - trimethylpyrazine ), 2 , 6 - dimethyl - 3 , 5 - divinylpyrazine ( 3 , 5 - diethenyl - 2 , 6 - dimethylpyrazine ), 2 - ethyl - 6 - methyl - 5 - vinylpyrazine ( 5 - ethenyl - 2 - ethyl - 6 - methylpyrazine ), 2 , 6 - diethyl - 5 - vinylpyrazine ( 5 - ethenyl - 2 , 6 - diethylpyrazine ), 2 - methyl - 5 -( 1 - methylvinyl ) pyrazine ( 2 - methyl - 5 -( 1 - methylethenyl ) pyrazine ), 2 -( 2 - ethylbut - 1 - enyl )- 6 - methylpyrazine , 2 - methyl - 6 -( 2 - methylprop - 1 - enyl ) pyrazine , 2 -( but - 1 , 3 - dienyl )- 6 - methylpyrazine , 3 , 6 - diethyl - 2 -( pent - 1 - enyl ) pyrazine , 2 -( but - 1 , 3 - dienyl )- 3 , 6 - dimethylpyrazine , 2 - methyl - 5 -( prop - 1 - enyl ) pyrazine , 2 -( 6 -( 4 -( 1 - methylethen - 1 - yl ) cyclohex - 1 - enyl ))- 3 , 5 , 6 - trimethylpyrazine , 2 -( 6 -( 4 -( 1 - methylethen - 1 - yl ) cyclohex - 1 - enyl ))- 5 , 6 - dimethylpyrazine , mixtures thereof and the like . suitable amines which can be employed herein include saturated and unsaturated aliphatic , cycloaliphatic or aromatic amines such as , for example , those represented by the formula pg , 6 ## str2 ## wherein each r &# 39 ; is independently a hydrocarbyl or hydrocarbyloxy group having from about 1 to about 12 , preferably from about 2 to about 6 , most preferably from about 2 to about 4 carbon atoms ; each r &# 34 ; is independently hydrogen or a hydrocarbyl or hydrocarbyloxy or amino substituted hydrocarbyl or amino substituted hydrocarbyloxy group having from 1 to about 72 , preferably from about 8 to about 36 , most preferably from about 10 to about 18 carbon atoms and n &# 39 ; has a value from zero to about 24 , preferably from zero to about 2 : with the proviso that when n &# 39 ; is zero , r &# 34 ; cannot be hydrogen . suitable amines also include , for example . 1 , 2 - ethanediamine ( ethylenediamine ), piperazine , n -( 2 - aminoethyl )- 1 , 2 - ethanediamine , n - methyl - 1 , 2 - ethanediamine , 1 , 3 - propanediamine , 1 , 2 - propanediamine , 1 , 4 - butanediamine , n -( 3 - aminopropyl )- 1 . 4 - butanediamine . n -( 2 - aminoethyl )- 1 , 4 - butanediamine , n -( 3 - aminopropyl )- 1 , 3 - propanediamine , bis -( 2 - aminopropyl ) amine , 1 - pipereneazineethanamine , triethylenetetramine , tetraethyl pentamine , pentaethylenehexamine , hexaethyleneheptamine , n , n - dibutyl - 1 , 3 - propanediamine , n , n &# 39 ;- dipropyl - 1 , 7 - heptanediamine , n , n - dioctyl - 1 , 2ethanediamine , n , n &# 39 ;- dioctyl - 1 , 3 - propanediamine , n , n - didecyl - 1 , 3 - propanediamine , 1 , 10 - dodecanediamine , 5 , 11 - pentadecanediamine , 4 , 13 - hexadecanediamine , 2 , 2 , 11 - trimethyl - 1 , 11 - dodecanediamine , 5 , 13 - diethyl - 6 , 12heptadecanediamine , 3 , 4 - diethyl - 4 , 13 - hexadecanediamine , 12 - ethyl - 2 - methyl - 2 - propyl - 1 , 11 - tetradecanediamine , 5 , 15 - diethyl - 5 , 14 - nonadecanediamine , n - butyl - 1 - butanamine , n - hexyl - 1 - hexanamine , n - octyl - 1 - octanamine , n - nonyl - 1 - nonanamine ( di - n - nonylamine ), bis - 2 - methyl ( 2 - propenyl ) amine , 9 - octadecen - 1 - amine , 3 - isopropoxypropylamine , 3 -( 2 - methoxyethoxy ) propylamine , n -( 3 - ethoxypropyl ) ethylamine , bis -( 2 - ethoxyethyl ) amine , 4 , 4 - diethoxybutylamine , 2 -( n - butylamino ) ethanol , 2 , 2 &# 39 ;-( butylimino ) diethanol , 2 -( 3 - aminopropylamino ) ethanol . 1 -( 2 - aminoethylamino )- 2 - propanol , 6 , 9 , 12 - trioxa - 3 , 15 - diazaheptadecane - 1 , 17 - diol , n - 3 -( decyloxy ) propyl - 1 , 3 - propanediamine , 1 -( 2 - aminoethyl ) amino - 2 - tetradecanol , 1 -( 3 - aminopropyl )- amino - 2 - dodecanol , 5 , 5 &# 39 ;- oxybis - 1 - pentanamine , 5 -[( 3ethylamino ) propyl ] amino - 1 - pentanol , 1 - piperazineethanol , 1 - piperazinepropanol , 4 - amino - 1 - piperazineethanol , n -( 3 - aminopropyl ) piperidine , 2 - piperidineethanol , cyclohexanemethylamine ( hexahydrobenzylamine ), cyclohexanebutylamine , cycloheptylamine , cyclooctylamine , n - methylcyclooctylamine , cyclododecylamine , n - methylcyclododecylamine , octamethyleneimine , n -( 3 - aminopropyl ) morpholine , 4 - hexyloxyaniline , 4 - pentyloxyaniline , 1 , 4 - benzodioxan - 6 - amine , 2 - amino - 4 - tertbutylphenol , n , n - dimethyl - p - phenylenediamine , 2 - biphenylamine , 4 - biphenylamine , 2 - aminonaphthalene , 2 - fluorenamine , 1 - anthramine , 4 - phenylbutylamine , 2 -( benzyloxy ) ethylamine , 2 -( 3 - phenethylamine ) ethanethiol , 4 - amino - 1 - benzylpiperidine , tall oil amine , soya amine , hydrogenated tallow amine , tallow amine , c 8 - c 15 ether amine , ether - 1 , 3 - propylenediamines , ether - 1 , 2 - ethylenedimaines , partially alkoxylated or partially polyalkoxylated amines or polyamines , aminated polyoxyalkylene polyols , mixtures thereof and the like . particularly suitable amines include , for example , 1 - heptanamine , 1 - octanamine , 1 - nonamine , 1 - decanamine , 1 - undecanamine , 1 - dodecanamine , 1 - tridecanamine , 1 - tetradecanamine , 1 - pentadecanamine , 1 - hexadecanamine , 1 - heptadecanamine , 1 - octadecanamine , n - methylhexanamine , n - methylheptanamine , n - methyl - 1 - decanamine , n -( 1 - methylethyl )- 1 - pentanamine , n -( 1 - methylethyl )- 1 - decanamine , n - methyl - 1 - octadecanamine , n - dodecyl - 1 - dodecanamine , n - decyl - 1 , 2 - ethanediamine , n - tetradecyl - 1 , 2 - ethanediamine , n - decyl - 1 , 3 - propanediamine , n - dodecyl - 1 - dodecanamine , n - decyl - 1 , 2 - ethanediamine , n - octadecyl - 1 , 2 - ethanediamine , n - decyl - 1 , 3 - propanediamine , n - hexadecyl - 1 , 3 - propanediamine , n - heptadecyl - 1 , 3 - propanediamine , n - octadecyl - 1 , 2 - propanediamine , n - octadecyl - 1 , 3 - propanediamine , n - octadecyl - 1 , 4 - butanediamine , mixtures thereof and the like . suitable catalysts which can be employed to enhance the reaction between the vinyl substituted pyrazine compound and the amine include acidic and basic materials . suitable acids include nitric , phosphoric and sulfuric . particularly suitable acids are the hydrohalide acids and the carboxylic acids such as for example , hydrochloric acid , hydrobromic acid , hydroiodic acid , acetic acid , propionic acid , butanoic acid , benzoic acid , citric acid , tartaric acid , lactic acid , mixtures thereof and the like . a particularly suitable base is sodium metal . suitable reaction media in which the vinyl substituted pyrazine and amine compounds can be reacted include , for example , water , alcohols , hydrocarbons and combinations thereof and the like . particularly suitable alcohols include , for example , methanol , ethanol or mixtures thereof . the reaction product of the vinyl substituted pyrazine compounds with amines are believed to be those compounds or mixtures of compounds represented by the formulas ## str3 ## wherein each r is independently hydrogen or an aliphatic hydrocarbon group having from 1 to about 4 carbon atoms ; each r &# 39 ; is independently a hydrocarbyl or hydrocarbyloxy group having from about 1 to about 12 , preferably from about 2 to about 6 , most preferably from about 2 to about 4 carbon atoms : each r &# 34 ; is independently hydrogen or a hydrocarbyl or hydrocarbyloxy group having from 1 to about 72 , preferably from about 8 to about 36 , most preferably from about 10 to about 18 carbon atoms : each x is independently hydrogen , halogen , -- no 2 or a hydrocarbyl or hydrocarbyloxy group having from 1 to about 24 carbon atoms , with the proviso that any x group does not interfere with the reaction between the vinyl substituted pyrazine compound and the amine of component ( a - 2 ); n has a value from 1 to 4 ; and n &# 39 ; has a value from zero to about 24 , preferably from about zero to about 12 , most preferably from zero to about 2 with the proviso that when n &# 39 ; is zero , r &# 34 ; cannot be hydrogen . the method of the present invention can also use salts of the compounds or mixtures of compounds of the general formulas iii and iv . these salts may be formed with a mineral acid such as hydrochloric acid , with a carboxylic acid such as acetic acid , propionic acid or a long chain fatty acid such as , for example , tall oil fatty acid or dimerized or trimerized fatty acids , or with a sulphonic acid such as benzene sulphonic acid . where a salt of the corrosion inhibiting compound is employed , the preferred salts are an acetic acid salt , a tall oil fatty acid salt or a mixture of salts of both of these acids . acetamides can be formed from the acetate salt by the loss of water . for example , water can be removed from the acetate salt under azeotropic distillation conditions to yield the acetamide . however , under standard conditions the reaction can be halted to yield the acetate salt . an unsalified product results with the use of small amounts ( e . g . 0 . 05 equiv .) of acetic acid catalyst . the acids can be reacted in amounts which correspond to moles of acid per mole of vinyl substituted pyrazine compound employed of from about 0 . 1 : 1 to about 8 : 1 , suitably from about 0 . 25 : 1 to about 2 : 1 , more suitably from about 0 . 5 : 1 to about 1 : 1 . suitable media in which the corrosion inhibitor compounds can be mixed to form the corrosion inhibitor compounds of the present invention include any solvent in which the corrosion inhibitor compound is soluble or dispersible . suitable such media includes , for example , water , brine , alcohols , glycols , ethers , aromatic and aliphatic hydrocarbons , combinations thereof and the like . particularly suitable alcohols include , ethanol and isopropanol . particularly suitable hydrocarbon solvents include , for example , toluene , xylene , resin oil , kerosene and the like . the corrosion inhibitor compositions of the present invention usually contain from about 1 to about 90 , preferably from about 10 to about 70 , most preferably from about 10 to about 40 parts of the reaction product of the vinyl substituted pyrazine and amine compound and from about 10 to about 99 , preferably from about 30 to about 90 , most preferably from about 60 to about 90 parts by weight of the carrier medium . the corrosion inhibitor compositions of the present invention can also , if desired , contain other additives such as , for example , deemulsifiers , water wetting agents , anti - freeze additives , biocides , fungicides , surfactants , viscosifiers , commingled gases , defoamers , iron control agents , sequestering and / or chelating agents , phosphates , quaternary ammonium compounds , amine salts and the like . for example , surface active agents are used to assure complete dispersion of active ingredients throughout the corrosion inhibitor composition and thus provide a better contact of the corrosion inhibitor with the surface of the metal object which is being protected . the corrosion inhibitor compositions of the present invention are employed in a functionally effective amount . that is , any quantity which will provide some degree of inhibition of corrosion is sufficient . typical amounts of corrosion inhibitor composition for use in oil and / or gas well treatment can range from about one to about 2 , 000 ppm for continuous treatment or about 200 to about 50 , 000 ppm for squeeze treatment based on the weight of corrosive well fluids in contact with the metal compositions . amounts of corrosion inhibitor in excess of 50 , 000 ppm can provide additional corrosion inhibition but at increased expense . the corrosion inhibitor compositions of the present invention are useful in applications such as , for example , oil and / or gas well drilling , completion , workover , stimulation , transfer , processing and storage applications . other applications outside the oil and gas industry for which the corrosion inhibitor compositions of the present invention can be employed include , for example , inhibitors in geothermal wells , protection of metal alloys during steel pickling operations and the like . 2 - vinylpyrazine ( 10 . 2 g , 0 . 096 mole ), kemamine p - 650 ( 13 . 1 g , 0 . 063 mole ) were stirred in a 50 ml reactor equipped with an immersion thermometer and glycol cooled condenser . kemamine p - 650 is a mixture of c 10 - 18 primary amines commercially available from witco chemical co . which consists primarily of 1 - decanamine , 1 - dodecanamine , 1 - tetradecanamine . 1 - hexadecanamine , 1 - octadecamine and 1 - octadecen - 1 - amine . glacial acetic acid ( 1 . 23 g , 0 . 021 mole ) was added dropwise to the reactor contents . then the reactor contents were heated between 53 ° c . and 120 ° c . for 5 hours and 41 minutes ( 20 , 460 s ). a portion of the product produced in example 1 was heated an additional 14 hours and 46 minutes ( 53 , 160 s ) between 107 ° c . and 131 ° c . the product was soluble in both ethanol and xylene . electron impact capillary mass spectrometry supported the presence of the following compounds or their acetate salt . ## str4 ## 2 - vinylpyrazine ( 5 . 23 g , 0 . 049 mole ), dodecanamine ( 18 . 36 , 0 . 099 mole ) and methanol ( 11 . 92 g ) were stirred in a nitrogen atmosphere in a reactor of the type described in example 1 . glacial acetic acid ( 1 . 64 g , 0 . 027 mole ) was added dropwise to the reactor contents then the reactor contents were heated between 78 ° c . and 112 ° c . for 24 hours and 4 minutes ( 86 , 640 s ). the resultant reaction product was subjected to rotary evaporation under full vacuum between 80 ° c . and 100 ° c . for 62 minutes ( 3720 s ). the product was soluble in both ethanol and xylene . 2 - vinylpyrazine ( 10 . 03 g , 0 . 0946 mole ), dodecanamine ( 17 . 51 g , 0 . 0945 mole ) and glacial acetic acid ( 5 . 65 g , 0 . 094 mole ) were stirred in a nitrogen atmosphere in a reactor of the type described in example 1 . then the reactor contents were heated between 118 ° c . and 134 ° c . for 20 hours and 11 minutes ( 72 , 660 s ). after cooling to room temperature , the reaction product was a reddish brown waxy solid which was soluble in both ethanol and xylene . 2 - vinylpyrazine ( 9 . 54 g , 0 . 09 mole ), triethylenetetramine ( 14 . 33 g , 0 . 09 mole ) and glacial acetic acid ( 5 . 46 5 , 0 . 091 mole ) were stirred in a nitrogen atmosphere in a reactor of the type described in example 1 . then the reactor contents were heated between 109 ° c . and 131 ° c . for 14 hours and 38 minutes ( 52 , 680 s ). after cooling to room temperature , the reaction product was a dark brown viscous liquid that was soluble in hot ethanol . the corrosion protection of examples 1 - 5 was determined with the 80 ° c . ( 175 ° f .) batch wheel test procedure . the results are given in table i . the test was performed as follows : a brine solution containing 89 . 89 % deionized water , 9 . 62 % sodium chloride , 0 . 305 % calcium chloride and a 0 . 186 % hydrated magnesium chloride complex was prepared . all percentages are by weight . this brine solution was saturated under carbon dioxide purge until a ph of 3 . 8 was achieved . the solution was treated with sodium persulfate to remove oxygen . the desired corrosion inhibitor compound was added to the solution . about 720 ml of this brine solution and 80 ml of kerosene ( 90 % brine / 10 % kerosene ) treated with sodium persulfate were charged into a 32 oz . ( 946 . 4 ml ) bottle . to this charge was added enough hydrated sodium sulfide to generate a suitable amount of hydrogen sulfide ( i . e ., about 300 ppm hydrogen sulfide based on total fluids ). metal coupons ( 12 &# 34 ;× 1 / 4 &# 34 ;× 1 / 16 &# 34 ;, 304 . 8 mm × 6 . 35 mm × 1 . 59 mm ) of 1020 carbon steel were degreased with an inhibited methylchloroform , acidized with 16 % hydrochloric acid , washed and dried . each coupon weighed about 19 g . a metal coupon was placed in the bottle containing the brine , kerosene and ingredients as previously described . the bottle was capped and acetic acid was injected into the bottle through a septum . the bottle was placed on a vertically rotating wheel held at 175 ° f . ( 79 . 4 ° c .) and the sample was rotated at 26 rpm ( 0 . 43 rps ) for 24 hours ( 86 , 400 s ). the coupons were removed from the bottle , cleaned , washed , dried and reweighed and the percent protection afforded them by the inhibitor was calculated as the percent protection by the following formula : ## equ1 ## the weight loss is given to the nearest whole percent . the tests wherein no inhibitor is employed are for comparative purposes and are designated as blanks . the corrosion rates are also determined in milliinches per year ( mpy ) corrosion rates by the following formula : ## equ2 ## where table i______________________________________inhibitor weighttest concen - loss percentno . type tration ( g ) mpy . sup . 1 protection______________________________________a - 1 none . sup . 3 0 ppm 0 . 1979 76 . 9 0a - 2 ex . 1 100 ppm 0 . 0054 2 . 1 97b - 1 none . sup . 3 0 ppm 0 . 1915 73 . 2 0b - 2 ex . 2 100 ppm 0 . 0062 2 . 4 97c - 1 none . sup . 3 0 ppm 0 . 1810 73 . 4 0c - 2 ex . 3 100 ppm 0 . 0073 3 . 0 96c - 3 ex . 4 100 ppm 0 . 0098 4 . 1 95c - 4 ex . 5 100 ppm 0 . 0250 10 . 3 86d - 1 none . sup . 3 0 ppm 0 . 3328 131 . 0 0d - 2 corban 100 ppm 0 . 0658 26 . 0 80a - 163 . sup . 2 , 3______________________________________ . sup . 1 mpy is mils per year . sup . 2 corban a163 is a commercial corrosion inhibitor available from dowellschlumberger . sup . 3 not an example of this invention the data in table i demonstrates that 100 ppm of the inhibitors of this invention exhibit good corrosion protection under simulated downhole tests at 80 ° c . in most cases the corrosion protection is better than that exhibited by commercially available corban a - 163 . thus , the corrosion inhibitors of this invention are suitable for the protection of metal alloys against corrosion due to corrosive fluids produced in oil and gas well formations and harmful to said metal alloys at or below 80 ° c . in addition , the corrosion inhibitors of this invention are suitable for the corrosion protection of pipelines , storage tanks , pumps , etc . that exist above ground for the purpose of separating , recovering and / or transporting the oil and / or gas from the produced fluids .