Added an event for tag and index
Refactored Event