change != to ! isEqual: