Index from HW4 finished