index for part 2 of homework 4