enhance the integer comparsion