Before committing suicide, a 27-year-old Swedish man spent his last hours sending his family and friends text messages detailing what they would inherit.

A Swedish district court ruled that the SMS testament was valid, but an appeals court overturned this verdict. Inheritance law expert Margatreta Brattstrom had this to say about Sweden’s inheritance laws, “Our inheritance laws are ancient and a lot has happened since the early 20th century when the rules were written down.” She points out that the man’s instructions would have remained valid if he had written them down with a pen instead of using text messages.