public int[][][] getCheckInOrCheckOutByMonthArray(boolean getCheckIn) {
		int yearCount = AirbnbGlobals.ENDYEAR-AirbnbGlobals.STARTYEAR+1;
		int listingCount = listingNames.size();
		
		int[][][] checkInArray = new int[yearCount][listingCount+1][13];
		
		for(Iterator<AirbnbReservation> i = airbnbReservationList.iterator(); i.hasNext(); ) {
			AirbnbReservation res = i.next();
			LocalDate d = getCheckIn ? res.getCheckInDate() : res.getCheckoutDate();
			int y = d.getYear();
			int m = d.getMonth().getValue() - 1;
			int l = this.listingNames.indexOf(res.getListingName());
			if ((y < 0) || (m < 0) || (l < 0)) {
				System.out.println("This should never happen");
			}
			checkInArray[y-AirbnbGlobals.STARTYEAR][l][m]++ ;			
		}
		
		for (int y=0; y <= (AirbnbGlobals.ENDYEAR-AirbnbGlobals.STARTYEAR); y++) {
			for (int l=0; l < listingCount; l++) {
				int tot = 0;
				for (int m=0; m <= 11; m++) {
					tot += checkInArray[y][l][m];
				}
				checkInArray[y][l][12] = tot;
			}
		}

		return checkInArray;
	}