hw5 part 1