One Buddhist legend from the Complete Tale of Guanyin and the Southern Seas presents Guanyin as vowing to never rest until she had freed all sentient beings from samsāra or cycle of rebirth. Despite strenuous effort, she realized that there were still many unhappy beings yet to be saved. After struggling to comprehend the needs of so many, her head split into eleven pieces. The buddha Amitābha, upon seeing her plight, gave her eleven heads to help her hear the cries of those who are suffering. Upon hearing these cries and comprehending them, Avalokiteśvara attempted to reach out to all those who needed aid, but found that her two arms shattered into pieces. Once more, Amitābha came to her aid and appointed her a thousand arms to let her reach out to those in need.In Chinese culture, the popular belief and worship of Guanyin as a goddess by the populace is generally not viewed to be in conflict with the bodhisattva Avalokitesvara's nature. In fact the widespread worship of Guanyin as a "Goddess of Mercy and Compassion" is seen by Buddhists as the boundless salvific nature of bodhisattva Avalokiteśvara at work (in Buddhism, this is referred to as Guanyin's "skillful means", or upaya). The Buddhist canon states that bodhisattvas can assume whatsoever gender and form is needed to liberate beings from ignorance and dukkha. With specific reference to Avalokitesvara, he is stated both in the Lotus Sutra , and the Śūrangama Sūtra to have appeared before as a woman or a goddess to save beings from suffering and ignorance. Some Buddhist schools refer to Guanyin both as male and female interchangeably.