Set up the event for both instances