@Override
	public void compileClicked(ArrayList<ArrayList<String>> code) {
		if(checkCorrectInput(code)) {
			model.compile(new Program(code));

			this.setViewOutput();

			if(model.isCompileSuccess()){
				view.setButtonsEnabled(model.isCompileSuccess());
				if(sendToIO)
					for(int i = 0; i < 10; i++) 
						opin.get(i).low();

			}
		}

		else { 
			model.setViewToDefault();
			this.setViewOutput();
			view.setConsoleError(model.getErrorStream().getErrors());
		}
	}