modified index homework1