small changes on the comparisons