checking mdevices