add method getModeleFromDevice