hw3 part 1