Add comment to parsePriority function. I had to duplicate this function in