comparing the values of numbers