 
   var dateLabels = [DateLabel]()
 
-  init(startDate: NSDate, daysInWeek: Int = 7) {
-    self.startDate = startDate
+  init(startDate: NSDate = NSDate(), daysInWeek: Int = 7) {
+    self.startDate = startDate.dateOnly()
     self.daysInWeek = daysInWeek
     super.init(frame: CGRect.zero)
     initializeViews()

  }

  override init(frame: CGRect) {
    startDate = NSDate()
    super.init(frame: frame)
    initializeViews()
  }

  required init?(coder aDecoder: NSCoder) {
    startDate = NSDate()
    super.init(coder: aDecoder)
    initializeViews()
  }

    }
    set(newDate) {
      if let newDate = newDate {
        selectedIndex = newDate.daysFrom(startDate, calendar: calendar)
      }
    }
  }
