primary action of the story. Other stories use different structures. For instance, the protagonist is denied admission into a martial arts school. He experiences hardships and trains secretly and waits until there is an opportunity for him to show off his skills and surprise those who initially looked down on him. Some stories feature a mature hero with powerful martial arts abilities confronting an equally powerful antagonist as his nemesis. The plot will gradually meander to a final dramatic showdown between the protagonist and his nemesis. These types of stories were prevalent during the era of anti-Qing revolutionaries. Certain stories have unique plots, such as those by Gu Long and Huang Yi. Gu Long's works have an element of mystery and are written like detective stories. The protagonist, usually a formidable martial artist and intelligent problem-solver, embarks on a quest to solve a mystery such as a murder case. Huang Yi's stories are blended with science fiction. Despite these genre-blending elements, wuxia is primarily a historical genre of fiction. Notwithstanding this, wuxia writers openly admit that they are unable to capture the entire history of a course of events and instead choose to structure their stories along the pattern of the protagonist's progression from childhood to adulthood instead. The progression may be symbolic rather than literal, as observed in Jin Yong's The Smiling, Proud Wanderer, where Linghu Chong progresses from childish concerns and dalliances into much more adult ones as his unwavering loyalty repeatedly thrusts him into the rocks of betrayal at the hands of his inhumane master. Code of xia The eight common attributes of the xia are listed as benevolence, justice, individualism, loyalty, courage, truthfulness, disregard for wealth, and desire for glory. Apart from individualism, these characteristics are similar to Confucian values such as ren (仁; "benevolence", "kindness"), zhong (忠; "loyalty"), yong (勇; "courage", "bravery") and yi (義; "righteousness"). The code of xia also emphasises the importance of repaying benefactors after having received deeds of en (恩; "grace", "favour") from others, as well as seeking chou (仇; "vengeance", "revenge") to bring villains to justice. However, the importance of vengeance is controversial, as a number of wuxia works stress Buddhist ideals, which include forgiveness, compassion and a prohibition on killing. In the jianghu, martial artists are expected to be loyal to their master (Shifu). This gives rise to the formation of several complex trees of master-apprentice relations as well