operator function replaced with operator-compare