You can't change the eq func like this, you need to really recreate `contents`.