sentences:  The functionalist model viewed ritual as a homeostatic mechanism to regulate and stabilize social institutions by adjusting social interactions, maintaining a group ethos, and restoring harmony after disputes.Although the functionalist model was soon superseded, later "neofunctional" theorists adopted its approach by examining the ways that ritual regulated larger ecological systems.Roy Rappaport, for example, examined the way gift exchanges of pigs between tribal groups in Papua New Guinea maintained environmental balance between humans, available food (with pigs sharing the same foodstuffs as humans) and resource base.