amended index for HW6 part2