Implement priority to use devices