     return (list, set)
   }
   
-  private static func insert(locations: [TKAgendaInputItem], into: [TKAgendaInputItem]) -> Observable<[TKAgendaOutputItem]> {
+  private static func insert(locations: [TKAgendaInputItem], into: [TKAgendaInputItem], dateComponents: NSDateComponents) -> Observable<[TKAgendaOutputItem]> {
     
     precondition(into.count >= 2, "Don't call this unless you have a start and end!")
     

  /**
   Creates the input as required by the `tpp/` endpoint.
   */
  private static func createInput(locations: [TKAgendaInputItem], into: [TKAgendaInputItem]) -> [String: AnyObject] {
    
    return [
      "date": "2016-06-30",
      "modes": ["pt_pub", "ps_tax"],
      "insertInto": createInput(into),
      "insert": createInput(locations)
    ]
  }
  

      preconditionFailure()
    }
    
    var list = items
      .filter { $0.fixedOrder != nil || $0.timesAreFixed }
      .sort { return $0.beforeInList($1)
