private void getFlipInstruction() {
		currentState = new BrainState(BrainState.INSTRUCTION_FLIP);
		char read = (char) readAhead;
		readNext();
		if(checkCharacter(read, 'l')) {
			read = (char) readAhead;
			readNext();
			if(checkCharacter(read, 'i')) {
				read = (char) readAhead;
				readNext();
				if(checkCharacter(read, 'p')) {
					if(checkWhitespace()) {
						currentState.setFlipNumber(getFlipNumber());
						if(checkWhitespace()) {
							int nextState = getStateNumber();
							highestReferencedState = Math.max(nextState, highestReferencedState);
							currentState.setNextState(nextState);
							if(checkWhitespace()) {
								int nextStateOnFail = getStateNumber();
								highestReferencedState = Math.max(nextStateOnFail, highestReferencedState);
								currentState.setNextStateOnFail(nextStateOnFail);
								finishInstruction();
							}
						}
					}
				}
			}
		}
	}