add_device now works