public Device hasDevice(String type) {
			Device targetDevice = deviceFactory(type, 0);
			for (Device device : deviceList) {
				if(device.equals(targetDevice) && device.getAmount()>0) return device;
			}
			return null;
		}