add event to collection
add global namespace