modified index for testing