hw5 changes prob 2