dispatch the event from the argument rather than a hardcoded one