The new event generator TWOPEG for the channel $e p rightarrow e p pi^{+} pi^{-}$ has been developed. It uses an advanced method of event generation with weights and employs the five-fold differential structure functions from the rece