hw4 part 1.6