added inequality test