Finishing hw5a