Fixed _community function