added the device stuph