index for hw3 part 2