   
   func printForOneDisplay(_ leadingString:String) {
     let di = displayInfo.filter { $0.modeID == modeID }
-    //print(displayInfo.count
-      //    , di[0].mode.ioDisplayModeID, di[0].mode.ioFlags
-      //    , di[1].mode.ioDisplayModeID, di[1].mode.ioFlags)
     print(_format(di[0], leadingString:leadingString, trailingString:""))
   }
   

    self.mode = mode
    scale = modeFromJSON["scale"]        
    frequency = modeFromJSON["frequency"]
    if frequency == 0 {
      var link:CVDisplayLink?
      CVDisplayLinkCreateWithCGDisplay(displayID, &link)
      
      let time = CVDisplayLinkGetNominalOutputVideoRefreshPeriod(link!)
      // timeValue is in fact already in Int64
      let timeScale = Int64(time.timeScale) + time.timeValue / 2
      
      frequency = Int( timeScale / time.timeValue )
    }
  }
  // TODO: get rid of it,since we are not comparing DisplayInfo
  static func < (lhs: Self, rhs: Self) -> Bool {


    if args.count == 2 { return }

    if args[2] > DisplayUserSetting.MAX_SCALE {
      height = args[2]
      if args.count > 3 { scale = args[3] }
    }
