improve comparisons