index for HW4