index code changes

index code changes