Add event comparator