@Override
	public Object getValueAt(int rowIndex, int colIndex) {
		if(rowIndex>teams.size())
			throw new IndexOutOfBoundsException("Row does not exist");
		
		Team team = teams.get(rowIndex);
		switch (colIndex){
		case 0:
			return team.getName();
		case 1:
			return team.getPlayed();
		case 2:
			return team.getWon();
//		case 3:
//			return team.getDraw();
		case 4:
			return team.getLost();
		case 5:
			return team.getGoalsFor();
		case 6:
			return team.getGoalsAgainst();
		case 7:
			return team.getGoalDifference();
		case 8:
			return team.getPoints();
		default:
			throw new IndexOutOfBoundsException("Column does not exist");
		}
		
	}