trying to get priority queue to work

it's not working very well