In some fairy tales, when the Hero returns, he is assigned a difficult task (function M). After passing an ordeal (function N) and vanquishing all rivals (function Ex), he undergoes a change of status (function T), marries a princess and ascends the throne (function W).