make inequality comparison work