add function to retrieve device name list