Add compare_num