added "prefersGlobal"