changed inequality to equality validator