modify GetPriorities