populate device list works