One day, Judge Lu suddenly asked, "You and I are as close as brothers. If you have any wish, why not tell me?" Erdan jokingly said, "I have no other wish, but I find it strange that your body does not decay. If I could see your heart, that would be satisfying enough." Judge Lu laughed and said, "Very easy!" He then reached into his chest, took out his heart, dripping with blood, and placed it on the table. Erdan was frightened and quickly stepped back. Judge Lu put it back and said, "You have seen it; my words were not false." Erdan was even more amazed.
Another night, Judge Lu suddenly arrived and said to Erdan, "You have always been known for your wild frankness, but your literary talent is lacking. I will now change your heart for you; in the future, perhaps you will strive on your own." Having said this, he used a sharp blade to cut open Erdan's chest and exchanged his heart. Erdan was in extreme pain and fainted. When he woke, the scar on his heart remained, but his intelligence suddenly opened up; he could memorize anything after one reading, and his literary thoughts surged like a tide. When his wife heard of this, she was even more shocked and suspicious. From then on, Erdan succeeded repeatedly in the imperial examinations, and within a year he passed the provincial exam.
After Erdan gained his degree, his wife died from excessive fright. Erdan was grief-stricken and went to tell Judge Lu. Judge Lu said in surprise, "How so soon!" Erdan wept and explained the situation, saying, "My wife feared you like a tiger. Since you changed my heart, she was terrified day and night, and thus fell ill and died." Judge Lu said, "No problem, I can bring her back to life." Erdan was overjoyed at this, prostrated himself on the ground and bowed twice. Judge Lu said, "But I must change her head. Can you agree to this?" Erdan said, "As long as she can come back to life, I have no time to consider whether the head is beautiful or ugly. Besides, my wife has always been ugly; getting a beautiful head would be even better."
Judge Lu took Erdan to a wilderness and pointed to a new grave, saying, "This woman just died; her skull is still fresh and usable." He then opened the grave and took the woman's head back. Back in the room, Judge Lu held a knife, cut open the wife's neck, removed her old head, and attached the new one. In an instant, the wound healed without a trace. Judge Lu said, "She is waking up." The wife indeed revived. Erdan looked at her; the new wife's beauty far exceeded that of the old one, and she was also exceptionally intelligent. From then on, the couple's love grew deeper day by day, gazing at each other as if they were immortals.
The next year she bore a son, who was intelligent and handsome. Judge Lu named him "Fei." Zhu Erdan rose to the position of county magistrate, and his wife was known for her virtue and talent. The couple's harmony was very deep, without any weariness for life. The friendship between Judge Lu and Erdan also remained unbroken for life.