Title: From Habits to Social Structures