In the chansons de geste, women might don male garb for a variety of reasons, especially for safety, but also to be able to participate in masculine activities or join male groups. There is a repeating motif of the woman who disguises herself as a knight and succeeds in winning great renown in that guise. A common twist then has her dealing with the amorous or matrimonial desires of another woman, as in the story of Yde and Olive.