completes hw4