add global event helper