added torch event from the orginal plugin torch