added get deviceId