Completed hw4.