// Produces random place public static String randomPlace() { if (i == 0) restaurants = shuffle(restaurants); // shuffles places like a card deck Restaurant randomRestaurant = restaurants.get(i); i++; // Resets counter once all options are used if (i == restaurants.size()) { i = 0; } return randomRestaurant.getName(); }