Completed HW4.