renamed CompareNumber class