Slight improvement to prioritizing