Social interaction and social structure