private static String[] getPlayerBet(Scanner userInput, String[][] playerInfo, String[] horsesInRace) {
		for (int i = 0; i < playerInfo.length; i++) {
			boolean validBet = false;
			boolean validInput = false;
			boolean validChoice = false;
			String bet = "";

			while (!validBet) {
				while (!validInput) {
					System.out.println("Hello " + playerInfo[i][NAME] + ", How much would you like to bet? You Have Currently: $" + playerInfo[i][WALLET] + " in your bank.");
					bet = userInput.nextLine();

					try {
						int number = Integer.parseInt(bet);
						validInput = true;
					} catch (NumberFormatException ex) {
						System.out.println(bet + " is not a number on earth in any language."); //WORKS!!!!!!!!!!!!!!!!!!
					}
				}

				if (Integer.parseInt(bet) < 0) {
					System.out.println("Not a valid bet try again: ");
					validInput = false;
				} else if (Integer.parseInt(bet) > Integer.parseInt(playerInfo[i][WALLET])) {
					validInput = false;
					System.out.println("You're too poor, either get more money or try again: ");
				} else {
					int tempBet = Integer.parseInt(bet);
					playerInfo[i][BET] = Integer.toString(tempBet);
					int tempWallet = Integer.parseInt(playerInfo[i][WALLET]);
					tempWallet -= Integer.parseInt(bet);
					playerInfo[i][WALLET] = Integer.toString(tempWallet);
					validBet = true;
					System.out.println("You have bet $" + playerInfo[i][BET] + " and have $" + playerInfo[i][WALLET] + " left");
					while (!validChoice) {
						System.out.println(playerInfo[i][NAME] + ", Which horse would you like to bet on? click 0 for the list of horses in the race");

						String horseList = userInput.nextLine();

						int choice = 0;
						try {
							choice = Integer.parseInt(horseList);
						} catch (NumberFormatException ex) {

						}

						if (choice == 0) {

							for (int j = 0; j < horsesInRace.length; j++) {
								System.out.println((j + 1) + ". " + horsesInRace[j]);
								validChoice = false;
							}

						} else if (choice == 1) {
							playerInfo[i][HORSE] = horsesInRace[0];
							validChoice = true;
							System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[0]);

						} else if (choice == 2) {
							playerInfo[i][HORSE] = horsesInRace[1];
							validChoice = true;
							System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[1]);

						} else if (choice == 3) {
							playerInfo[i][HORSE] = horsesInRace[2];
							validChoice = true;
							System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[2]);

						} else if (choice == 4) {
							playerInfo[i][HORSE] = horsesInRace[3];
							validChoice = true;
							System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[3]);
						} else if (choice == 5) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[4];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[4]);
							}

						} else if (choice == 6) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[5];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[5]);
							}

						} else if (choice == 7) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[6];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[6]);
							}

						} else if (choice == 8) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[7];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[7]);
							}

						} else if (choice == 9) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[8];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[8]);
							}

						} else if (choice == 10) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[9];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[9]);
							}

						} else if (choice == 11) {
							if (choice > horsesInRace.length) {
								System.out.println("Sorry, that horse isn't in the race");
							} else if (choice <= horsesInRace.length) {
								playerInfo[i][HORSE] = horsesInRace[10];
								validChoice = true;
								System.out.println("You have bet $" + playerInfo[i][BET] + " on " + horsesInRace[10]);
							}

						} else {
							System.out.println("That is not a valid input ");
							validChoice = false;
						}
					}
				}
			}

		}
		return null;
	}