       facebookEventID: facebookEventID)
   }
 
-  static func getOptionalLocation(json: [String : Any]) -> Location? {
+  private static func getOptionalLocation(json: [String : Any]) -> Location? {
     guard let latitude = json["latitude"] as? Int,
     let longitude = json["longitude"] as? Int else {
       return nil

    next()
  }

  static func saveEvent(json: [String : Any]) throws {
    let event = try parseEvent(json: json)
    try event.save()
  }

  static func parseEvent(json : [String : Any]) throws -> GeneralEvent {
    let dateFormatter = DateFormatter()
    dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.zzz"


      address: address, venue: venue)
  }

  private static func getOptionalTags(json: [String : Any]) -> [String]? {
    //Returns an array of tags or nil if the array is empty/doesn't exist in the json
    guard let tagsArray = json["tags"] as? [String] else {
      return nil
