 && pop <= 250) {
          id = 2;
        } else if (pop > 10 && pop <= 100) {
          id = 1;
        } else if (pop > 0 && pop <= 10) {
          id = 0;
        } else {
          id = -1;
          return "#00000000";
        }

        return colors[id];

      }

      //this function takes a place's name, set the color background and opacitiy for the place area on the map
      function style(feature) {
        if (feature.properties.enname == "united states" || feature.properties.enname == "cana