use best practices for event listeners namespace