registering events for identifying