added "equals" to hash policy