the water soluble thermosetting reaction product is then heated to 80 u00b0 to 120 u00b0 c for 10 to 60 minutes thereby producing a solid poly mono olefinic allyl type mono halide amine polyfunctional halogen resinous product one mol of diethylenetriamine 0 5 mol of allyl chloride and 20 by weight of water containing hydrochloric acid giving a ph of 5 are mixed then 1 mol of epichlorohydrin is slowly added while agitating at a temperature between ambient and 70 u00b0 c for 10 to 60 minutes thereby producing a water soluble thermosetting poly allyl halide diethylenetriamine epichlorohydrin reaction product the reaction product is then heated to 80 u00b0 to 120 u00b0 c for 10 to 60 minutes thereby producing a solid reaction product one mol of allyl chloride one mol of tetraethylenepentamine and 300 by weight of water percentage based on the weight of the reactant are mixed then dichlorohydrin cl ch 2 ch oh ch 2 cl in the amount of 1 mol is slowly added while agitating and keeping the temperature between ambient and 70 u00b0 c for 10 to 60 minutes thereby producing a water soluble resinous product a concentrated aqueous solution containing about 1 mol of sodium hydroxide is slowly added while agitating and keeping the temperature below 70 u00b0 c for 60 minutes this water soluble resinous product may be used in the production of wet strength paper by adding the resinous product to the paper pulp in water in the amount of about 3 based on weight of the pulp the paper sheets are then cured by heating at 80 u00b0 to 120 u00b0.