         let currentDate = NSDate()
         print("Error: Date was not correctly generated for start of month. current date was used: \(currentDate)")
         return currentDate
-    }()
+        }()
     
     lazy private var endOfMonthCache : NSDate = {
         [weak self] in
-            // set last of month
-            let lastDayComponents = self!.calendar.components([NSCalendarUnit.Era, NSCalendarUnit.Year, NSCalendarUnit.Month], fromDate: self!.endDateCache!)
-            lastDayComponents.month = lastDayComponents.month + 1
-            lastDayComponents.day = 0
+        // set last of month
+        let lastDayComponents = self!.calendar.components([NSCalendarUnit.Era, NSCalendarUnit.Year, NSCalendarUnit.Month], fromDate: self!.endDateCache!)
+        lastDayComponents.month = lastDayComponents.month + 1
+        lastDayComponents.day = 0
         if let returnDate = self!.calendar.dateFromComponents(lastDayComponents) {
             return returnDate
         }
         let currentDate = NSDate()
         print("Error: Date was not correctly generated for end of month. current date was used: \(currentDate)")
         return currentDate
-    }()
+        }()
     
     
     private(set) var selectedIndexPaths : [NSIndexPath] = [NSIndexPath]()
     public var selectedDates : [NSDate] = [NSDate]()
-
+    
     private var monthInfoActivated = false
     lazy private var monthInfo : [[Int]] = {
         [weak self] in
-            let newMonthInfo = self!.setupMonthInfoDataForStartAndEndDate()
-            self!.monthInfoActivated = true
-            return newMonthInfo
-    }()
-
+        let newMonthInfo = self!.setupMonthInfoDataForStartAndEndDate()
+        self!.monthInfoActivated = true
+        return newMonthInfo
+        }()
+    
     
     private var numberOfMonthSections: Int = 0
     private var numberOfSectionsPerMonth: Int = 0

                let monthSectionIndex = periodApart.month
                let startSectionIndex = monthSectionIndex * numberOfSectionsPerMonth
                let sectionIndex = startMonthSectionForSection(startSectionIndex) // Get the section within the month

                // Get the section Information
                let currentMonthInfo = monthInfo[sectionIndex]
                let dayIndex = calendar.components(.Day, fromDate: date).day

    func cellWasNotDisabledByTheUser(cell: JTAppleDayCell) -> Bool {
        return cell.cellView.hidden == false && cell.cellView.userInteractionEnabled == true
    }
    
}

// MARK: scrollViewDelegates
