added nonequality test