cleaned find_devices