found a new solution using coerce to make an object and fixnum compatible for comparison, and set the value of the object to infinity so it will always be the largest value in any comparison