private void changeFoodItem() {
		this.dispenser = null;
		this.item = null;
		boolean check = false;
		outer:for (int i = 0; i < this.currentMachine.getDispensers().size(); i++) {
			if (!this.currentMachine.getDispensers().get(i).getDispenserContents().isEmpty()) {
				check = true;
				break outer;
			}
		}
		
		if (!check) {
			return;
		}
		
		while (this.dispenser == null || this.item == null) {
			try{
				this.dispenser = this.currentMachine.getDispensers().get(rand.nextInt(this.currentMachine.getDispensers().size()));	
				if (this.dispenser.getDispenserContents().isEmpty()) {
					throw new IndexOutOfBoundsException();
				}
				this.item = this.dispenser.getDispenserContents().peekFirst();
				if (this.item == null || this.dispenser == null) {
					throw new IndexOutOfBoundsException();
				}
			} catch (IndexOutOfBoundsException e) {
				this.dispenser = null;
				this.item = null;
				System.err.println("Invalid Choice, Dispenser Empty");
				return;
			}
	
		}
	}