rename global to GlobalRng