It is believed that the need to ward off harmful spirits led to the wearing of costumes and masks. Their purpose was to disguise oneself as a harmful spirit and thus avoid harm. In Scotland the spirits were impersonated by young men dressed in white with masked, veiled or blackened faces.[4][5] Samhain was also a time to take stock of food supplies and slaughter livestock for winter stores. Bonfires played a large part in the festivities. All other fires were doused and each home lit their hearth from the bonfire. The bones of slaughtered livestock were cast into its flames.