equality check on TolX