implement priorites