4.2.7 writer priority solution