ensure that there is a priority to be encoded