commented out the code to print all devices