added preferGlobal