added Equality checking