Added prio function.