added Events to global scope