private void findNextCurrent() {
		if(!ganttUpdated) {
			ganttTemp = new GanttChartHolder();
			ganttTemp.beginningTime = time;
			ganttUpdated = false;
		}
		for(int i = 0; i < taskPool.length; i++) {
			if(!finished[i] && taskPool[i].arrivalTime <= (time)) {
				currentIndex = i;
				break;
			}
		}
	}