priority function stub