listDevices is working