replace equality with == check