Use compare instead of overloaded