create init_community() for community init logic