take latest changes in qres from jaime
if no default prio just set it = 0