hw5-2 completion