adding device selction in main()