Smarter comparisons