completed hw4.5