added priority-based distribution algorithms