better example for chained comparisons