managing multiple priorities