Only the Mongols and the northern "wild" Jurchen were semi-nomadic, unlike the mainstream Jiahnzhou Jurchens descended from the Jin dynasty who were farmers that foraged, hunted, herded and harvested crops in the Liao and Yalu river basins. They gathered ginseng root, pine nuts, hunted for came pels in the uplands and forests, raised horses in their stables, and farmed millet and wheat in their fallow fields. They engaged in dances, wrestling and drinking strong liquor as noted during midwinter by the Korean Sin Chung-il when it was very cold. These Jurchens who lived in the north-east's harsh cold climate sometimes half sunk their houses in the ground which they constructed of brick or timber and surrounded their fortified villages with stone foundations on which they built wattle and mud walls to defend against attack. Village clusters were ruled by beile, hereditary leaders. They fought each others and dispensed weapons, wives, slaves and lands to their followers in them. This was how the Jurchens who founded the Qing lived and how their ancestors lived before the Jin. Alongside Mongols and Jurchen clans there were migrants from Liaodong provinces of Ming China and Korea living among these Jurchens in a cosmopolitan manner. Nurhaci who was hosting Sin Chung-il was uniting all of them into his own army, having them adopt the Jurchen hairstyle of a long queue and a shaved fore=crown and wearing leather tunics. His armies had black, blue, red, white and yellow flags. These became the Eight Banners, initially capped to 4 then growing to 8 with three different types of ethnic banners as Han, Mongol and Jurchen were recruited into Nurhaci's forces. Jurchens like Nurhaci spoke both their native Tungusic language and Chinese, adopting the Mongol script for their own language unlike the Jin Jurchen's Khitan derived script. They adopted Confucian values and practiced their shamanist traditions.