Examples now use devices properly