how did community structures come to be?​