NEW index for HW6