Add the comparator example