Title: Ecology of Collective Behavior