device_selected complete, buggy