Mountain hamlets tended to be small, averaging some ten to twenty households. Traditionally, the Yi lived in windowless single-storied houses built of wood and earth. The house style was distinguished by double-slope roofs covered with small pieces of wooden plate held down by stones. The houses were simply furnished. The main area of activity was a fire pit cornered by three stones. Sleeping areas were on the ground, behind the fire pit; cattle and sheep were penned at one end of the house during the night. More recently, there has been a shift to brick-and-tile housing following the Han pattern, with livestock penned in adjacent buildings.