public void process() throws UnrecognizedCommandException {
		
		//nullity checks
		if (this.mowerCommandList != null) {

			LinkedList<MowerCommand> mowerCommands = this.mowerCommandList
					.getMowerCommands();

			if (mowerCommands != null) {
				while (!mowerCommands.isEmpty()) {

					MowerCommand command = mowerCommands.removeFirst();

					if (command != null) {
						command.updatePosition(mower, lawn);
					} else {
						throw new UnrecognizedCommandException();
					}
				}
			}

		}
	}