The mass warrior dance, Baris Gede is often performed at temple ceremonies. Baris dances are rooted in courtly rituals of war; the term baris refers to a formation of warriors. Groups of men attired in military style headresses and bearing spears, krisses and shields form lines (baris) and enact a fearsome war dance in unison. The tempo builds up into a mock battle and sometimes eventuates in trance. This dance is generally unrehearsed, performed by men of the village as a guard of honour for the visiting deities.