       frequency = Int( timeScale / time.timeValue )
     }
   }
-  
+  // TODO: get rid of it,since we are not comparing DisplayInfo
   static func < (lhs: Self, rhs: Self) -> Bool {
     return lhs.scale != rhs.scale ? lhs.scale < rhs.scale : lhs.width < rhs.width
   }

  }
  
  private func _set(_ di:DisplayInfo) {
    //let mode:CGDisplayMode = di.mode
    //print(mode.width, mode.pixelWidth, di.scale, di.width, mode)

    print("Setting display mode")

    var config:CGDisplayConfigRef?

  }
}

// DisplayMode & DisplayID management center
class DisplayManager {
  let displayID:CGDirectDisplayID,
      displayInfo:[DisplayInfo],
