Use map of devices.