hw5, finished