testing new prio algorithm