After a row of knots has been inserted, one or two, sometimes more, rows of wefts are woven in, and the fabric is compacted by beating with a heavy comb. Once the carpet is finished, it is cut from the loom. The sides or selvages are usually overcast in wool. The selvages consist of up to ten warp threads. Especially village and nomadic rugs have flat-woven kilim ends, sometimes including pile-woven tribal signs or village crests. The pile of the carpet is shorn with special knives in order to obtain an equal surface. In some carpets, a relief effect is obtained by clipping the pile unevenly. Finally, the carpet is washed before it is used, or goes to the market.