hw5 fixed