Revert "add equals"

This reverts commit efc7f67fbfa7893a4620f4fc69686d3fc5c22dc2.