changed comparisons