Title: Ecology and social structure