The formation of social groups under conditions of success and failure.