code: private static Stormtrooper randomTrooper(String id) {
          String planet = planetsList[RANDOM.nextInt(planetsList.length)];
          String species = speciesList[RANDOM.nextInt(speciesList.length)];
          String type = trooperTypes[RANDOM.nextInt(trooperTypes.length)];
  
          return new Stormtrooper(id, planet, species, type);
      }
docs: /////////////////////////////////