document set_priority