A typical wuxia story features a young male protagonist who experiences a tragedy – such as the loss of his loved ones – and goes on to undertake several trials and tribulations to learn several forms of martial arts from various fighters. At the end of the story, he emerges as a powerful fighter whom few can equal. He uses his abilities to follow the code of xia and mends the ills of the jianghu. For instance, the opening chapters of some of Jin Yong's works follow a certain pattern: a tragic event occurs, usually one that costs the lives of the newly introduced characters, and then it sets events into motion that will culminate in the primary action of the story.