add device list code.