add eq operator that behaves the same as ==