added global event support