added docs for custom equality