Freud felt that cocaine would work as a cure for many conditions and wrote a well-received paper, "On Coca", explaining its virtues. He prescribed it to his friend Ernst von Fleischl-Marxow to help him overcome a morphine addiction acquired while treating a disease of the nervous system. Freud also recommended cocaine to many of his close family and friends.