Assignment 6_4 index