now checking device type for device info