       event.userInfo = String(i)
     }
 
-    generatedEvents[date] = events
-
+    alreadyGeneratedSet.insert(date)
+    generatedEvents.append(contentsOf: events)
+    
     print("Events for \(date)")
 
     return events

  override func eventsForDate(_ date: Date) -> [EventDescriptor] {
    var workingDate = date.add(TimeChunk.dateComponents(hours: Int(arc4random_uniform(10) + 5)))

    if let storedEvents = generatedEvents[date], !storedEvents.isEmpty {
      return storedEvents
    }

    var events = [Event]()


              ]

  var generatedEvents = [EventDescriptor]()
  var alreadyGeneratedSet = Set<Date>()

  var colors = [UIColor.blue,
                UIColor.yellow,
