mypriority can be -1, too