                 returnPaths.append(NSIndexPath(forItem: adjustedCellIndex, inSection: adjustedSection))
             }
         }
-        
         return returnPaths
     }
 }

    }
    
    func configureChangeOfRows() {
        theSelectedDates.removeAll()
        theSelectedIndexPaths.removeAll()
        let layout = calendarView.collectionViewLayout as! JTAppleCalendarLayoutProtocol
        layout.clearCache()
        monthInfo = setupMonthInfoDataForStartAndEndDate()
        self.calendarView.reloadData()
    }
    

    
    func pathsFromDates(dates:[NSDate])-> [NSIndexPath] {
        var returnPaths: [NSIndexPath] = []
        for date in dates {
            if date >= startOfMonthCache && date <= endOfMonthCache {
                let periodApart = calendar.components(.Month, fromDate: startOfMonthCache, toDate: date, options: [])
