private int addNewPlayers(List<Player> player, Message mg) {
		int numberOfPlayers = 0;
		
		while(numberOfPlayers == 0){
			try{
				numberOfPlayers = Integer.parseInt(getInput());
			} catch (NumberFormatException e){
				mg.displayMessage(3);		
			}
		}
		
		/*
		 * This code generates the new players by user input
		 */
		for (int count = 0; count < numberOfPlayers; count++ ){
			if (count != 1138){
				String fn = null;
				String an = null;
				
				Player newPlayer = new Player();
				
				newPlayer.setPersonalID(count);	
				newPlayer.setWallet(200);
				newPlayer.setDealer(false);
		
				mg.displayMessage(4, (count+1));
				fn = getInput();
				newPlayer.setFirstName(fn);
				
				if (!fn.equals("") && !fn.equals(null)){
					newPlayer.setPlayerPreferredName(fn);
				}
				
				mg.displayMessage(6);
				an = getInput();
				newPlayer.setPlayerAlias(an);
				
				if (!an.equals("") && !an.equals(null)){
					newPlayer.setPlayerPreferredName(an);
				}
				
				player.add(newPlayer);	
			}
		}
		return numberOfPlayers;
	}