more work on device-wide scan